src/Algorithms.php
public function getAlgorithms($type)
    {
        if (!is_string($type) || !isset($this->algos[$type])) {
            throw new \InvalidArgumentException();
        }
        return array_keys($this->algos[$type]);
    }
public function getAlgorithms($type)
    {
        if (!is_string($type) || !isset($this->algos[$type])) {
            throw new \InvalidArgumentException();
        }
        return array_keys($this->algos[$type]);
    }
public function getAlgorithms ( $ type ) { if ( ! is_string ( $ type ) || ! isset ( $ this -> algos [ $ type ] ) ) { throw new \ InvalidArgumentException ( ) ; } return array_keys ( $ this -> algos [ $ type ] ) ; }
Get a list of all registered algorithms
with the given type.

\param string $type
Type of algorithms to retrieve.

\retval array
A list with the names of all the algorithms
currently registered with the given type.
Get a list of all registered algorithms with the given type .