Zend\Stdlib\Hydrator\AbstractHydrator::addStrategy
Adds the given strategy under the given name.
Signature
public function addStrategy(string
$name,
StrategyInterface
$strategy )
Parameters
$name
— string- The name of the strategy to register.
$strategy
— Zend\Stdlib\Hydrator\Strategy\StrategyInterface- The strategy to register.
Returns
- HydratorInterface