interface StrategyEnabledInterface in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-hydrator/src/StrategyEnabledInterface.php \Zend\Hydrator\StrategyEnabledInterface
- 8.0 vendor/zendframework/zend-stdlib/src/Hydrator/StrategyEnabledInterface.php \Zend\Stdlib\Hydrator\StrategyEnabledInterface
Same name and namespace in other branches
- 8 vendor/zendframework/zend-hydrator/src/StrategyEnabledInterface.php \Zend\Hydrator\StrategyEnabledInterface
Hierarchy
- interface \Zend\Hydrator\StrategyEnabledInterface
Expanded class hierarchy of StrategyEnabledInterface
All classes that implement StrategyEnabledInterface
1 file declares its use of StrategyEnabledInterface
- StrategyEnabledInterface.php in vendor/
zendframework/ zend-stdlib/ src/ Hydrator/ StrategyEnabledInterface.php
File
- vendor/
zendframework/ zend-hydrator/ src/ StrategyEnabledInterface.php, line 12
Namespace
Zend\HydratorView source
interface StrategyEnabledInterface {
/**
* Adds the given strategy under the given name.
*
* @param string $name The name of the strategy to register.
* @param Strategy\StrategyInterface $strategy The strategy to register.
* @return self
*/
public function addStrategy($name, Strategy\StrategyInterface $strategy);
/**
* Gets the strategy with the given name.
*
* @param string $name The name of the strategy to get.
* @return Strategy\StrategyInterface
*/
public function getStrategy($name);
/**
* Checks if the strategy with the given name exists.
*
* @param string $name The name of the strategy to check for.
* @return bool
*/
public function hasStrategy($name);
/**
* Removes the strategy with the given name.
*
* @param string $name The name of the strategy to remove.
* @return self
*/
public function removeStrategy($name);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
StrategyEnabledInterface:: |
public | function | Adds the given strategy under the given name. | 1 |
StrategyEnabledInterface:: |
public | function | Gets the strategy with the given name. | 1 |
StrategyEnabledInterface:: |
public | function | Checks if the strategy with the given name exists. | 1 |
StrategyEnabledInterface:: |
public | function | Removes the strategy with the given name. | 1 |