Fully Qualified Name: | Laminas\Hydrator\Strategy\CollectionStrategy |
Implements: | StrategyInterface |
Name | Description | Defined By |
---|---|---|
__construct() | CollectionStrategy | |
extract() | Converts the given value so that it can be extracted by the hydrator. | CollectionStrategy |
hydrate() | Converts the given value so that it can be hydrated by the hydrator. | CollectionStrategy |
Parameter Name | Type | Description |
---|---|---|
$objectHydrator | ||
$objectClassName |
Returns:
Converts the given value so that it can be extracted by the hydrator.
Parameter Name | Type | Description |
---|---|---|
$value | array | The |
$object |
Returns: mixed Returns the value that should be extracted.
Converts the given value so that it can be hydrated by the hydrator.
Parameter Name | Type | Description |
---|---|---|
$value | array | The |
$data |
Returns: object[] Returns the value that should be hydrated.