src/Algorithms.php
public function unregister($type, $name)
    {
        if (!is_string($type) || !isset($this->algos[$type])) {
            throw new \InvalidArgumentException();
        }
        if (!is_string($name)) {
            throw new \InvalidArgumentException();
        }
        unset($this->algos[$type][$name]);
        return $this;
    }
public function unregister($type, $name)
    {
        if (!is_string($type) || !isset($this->algos[$type])) {
            throw new \InvalidArgumentException();
        }
        if (!is_string($name)) {
            throw new \InvalidArgumentException();
        }
        unset($this->algos[$type][$name]);
        return $this;
    }
public function unregister ( $ type , $ name ) { if ( ! is_string ( $ type ) || ! isset ( $ this -> algos [ $ type ] ) ) { throw new \ InvalidArgumentException ( ) ; } if ( ! is_string ( $ name ) ) { throw new \ InvalidArgumentException ( ) ; } unset ( $ this -> algos [ $ type ] [ $ name ] ) ; return $ this ; }
Unregister an algorithm.

\param string $type
Algorithm type.

\param string $name
Name of the algorithm to unregister.

\retval Algorithms
Returns the singleton.
Unregister an algorithm .