Class AssetsHydrator
Hydrator for the Assets fieldtype
- rsanchez\Deep\Hydrator\AbstractHydrator implements rsanchez\Deep\Hydrator\HydratorInterface
- rsanchez\Deep\Hydrator\AssetsHydrator
public
|
#
__construct(
Constructor |
public
|
|
public
mixed
|
#
hydrate(
Hydrate the specified property (channel field or Matrix/Grid col) on the specified entity (channel entry or Matrix/Grid row) |
protected
|
$model |
|
|
protected
array
|
$selections | array() |
#
Asset selections sorted out by entity (entry or matrix or grid) |
protected
|
$uploadPrefRepository |
|
#
UploadPref model repository |
$collection,
$fieldtype
|