src/PathReducer/PathReducerManager.php
public function getPathReducer($name): PathReducerInterface
    {
        if (isset($this->pathReducers[$name])) {
            return $this->pathReducers[$name];
        }

        throw new Exception(sprintf('Path reducer %s does not exist.', $name));
    }
public function getPathReducer($name): PathReducerInterface
    {
        if (isset($this->pathReducers[$name])) {
            return $this->pathReducers[$name];
        }

        throw new Exception(sprintf('Path reducer %s does not exist.', $name));
    }
public function getPathReducer ( $ name ) : PathReducerInterface { if ( isset ( $ this -> pathReducers [ $ name ] ) ) { return $ this -> pathReducers [ $ name ] ; } throw new Exception ( sprintf ( 'Path reducer %s does not exist.' , $ name ) ) ; }
Returns one path reducer by name.

@param $name

@return PathReducerInterface

@throws Exception
Returns one path reducer by name .