class ClosureStrategy in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-hydrator/src/Strategy/ClosureStrategy.php \Zend\Hydrator\Strategy\ClosureStrategy
- 8 vendor/zendframework/zend-stdlib/src/Hydrator/Strategy/ClosureStrategy.php \Zend\Stdlib\Hydrator\Strategy\ClosureStrategy
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-stdlib/src/Hydrator/Strategy/ClosureStrategy.php \Zend\Stdlib\Hydrator\Strategy\ClosureStrategy
Hierarchy
- class \Zend\Hydrator\Strategy\ClosureStrategy implements StrategyInterface
- class \Zend\Stdlib\Hydrator\Strategy\ClosureStrategy implements StrategyInterface
Expanded class hierarchy of ClosureStrategy
Deprecated
Use Zend\Hydrator\Strategy\ClosureStrategy from zendframework/zend-hydrator instead.
File
- vendor/
zendframework/ zend-stdlib/ src/ Hydrator/ Strategy/ ClosureStrategy.php, line 17
Namespace
Zend\Stdlib\Hydrator\StrategyView source
class ClosureStrategy extends BaseClosureStrategy implements StrategyInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClosureStrategy:: |
protected | property | Function, used in extract method, default: | |
ClosureStrategy:: |
protected | property | Function, used in hydrate method, default: | |
ClosureStrategy:: |
public | function |
Converts the given value so that it can be extracted by the hydrator. Overrides StrategyInterface:: |
|
ClosureStrategy:: |
public | function |
Converts the given value so that it can be hydrated by the hydrator. Overrides StrategyInterface:: |
|
ClosureStrategy:: |
public | function | You can describe how your values will extract and hydrate, like this: |