You are here

public function AbstractHydrator::removeStrategy in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-hydrator/src/AbstractHydrator.php \Zend\Hydrator\AbstractHydrator::removeStrategy()

Removes the strategy with the given name.

Parameters

string $name The name of the strategy to remove.:

Return value

HydratorInterface

Overrides StrategyEnabledInterface::removeStrategy

File

vendor/zendframework/zend-hydrator/src/AbstractHydrator.php, line 106

Class

AbstractHydrator

Namespace

Zend\Hydrator

Code

public function removeStrategy($name) {
  unset($this->strategies[$name]);
  return $this;
}