public function unregisterChecker(CheckerInterface $checker)
    {
        if (false === $this->hasChecker($checker)) {
            throw new \LogicException('Trying to unregister unregistered checker');
        }

        foreach ($this->checkers as $key => $registeredChecker) {
            if ($checker === $registeredChecker) {
                unset($this->checkers[$key]);
            }
        }

        return $this;
    }
public function unregisterChecker(CheckerInterface $checker)
    {
        if (false === $this->hasChecker($checker)) {
            throw new \LogicException('Trying to unregister unregistered checker');
        }

        foreach ($this->checkers as $key => $registeredChecker) {
            if ($checker === $registeredChecker) {
                unset($this->checkers[$key]);
            }
        }

        return $this;
    }
public function unregisterChecker ( CheckerInterface $ checker ) { if ( false === $ this -> hasChecker ( $ checker ) ) { throw new \ LogicException ( 'Trying to unregister unregistered checker' ) ; } foreach ( $ this -> checkers as $ key => $ registeredChecker ) { if ( $ checker === $ registeredChecker ) { unset ( $ this -> checkers [ $ key ] ) ; } } return $ this ; }
Unregister a checker

@param  CheckerInterface $checker The checker to unregister
@return Manager
Unregister a checker