1024. Function

1024.1. Zend\Stdlib\Hydrator\addStrategy

ZendStdlibHydratoraddStrategy()

Adds the given strategy under the given name.

Parameters:
  • string – The name of the strategy to register.
  • StrategyInterface – The strategy to register.
Return type:

HydratorInterface

1025. Function

1025.1. Zend\Stdlib\Hydrator\getStrategy

ZendStdlibHydratorgetStrategy()

Gets the strategy with the given name.

Parameters:string – The name of the strategy to get.
Return type:StrategyInterface

1026. Function

1026.1. Zend\Stdlib\Hydrator\hasStrategy

ZendStdlibHydratorhasStrategy()

Checks if the strategy with the given name exists.

Parameters:string – The name of the strategy to check for.
Return type:bool

1027. Function

1027.1. Zend\Stdlib\Hydrator\removeStrategy

ZendStdlibHydratorremoveStrategy()

Removes the strategy with the given name.

Parameters:string – The name of the strategy to remove.
Return type:HydratorInterface