Interface StrategyEnabledInterface

Summary

Fully Qualified Name: Zend\Hydrator\StrategyEnabledInterface

Description

Methods

Name Description Defined By
addStrategy() Adds the given strategy under the given name. StrategyEnabledInterface
getStrategy() Gets the strategy with the given name. StrategyEnabledInterface
hasStrategy() Checks if the strategy with the given name exists. StrategyEnabledInterface
removeStrategy() Removes the strategy with the given name. StrategyEnabledInterface

Method Details

addStrategy()

Adds the given strategy under the given name.

Parameter Name Type Description
$name string The
$strategy \Strategy\StrategyInterface The

Returns: self

getStrategy()

Gets the strategy with the given name.

Parameter Name Type Description
$name string The

Returns: \Strategy\StrategyInterface

hasStrategy()

Checks if the strategy with the given name exists.

Parameter Name Type Description
$name string The

Returns: bool

removeStrategy()

Removes the strategy with the given name.

Parameter Name Type Description
$name string The

Returns: self

Top