protected static function getAlgorithm($name)
    {
        if (!isset(self::$algorithms[$name])) {
            self::$algorithms[$name] = new $name();
        }

        return self::$algorithms[$name];
    }
protected static function getAlgorithm($name)
    {
        if (!isset(self::$algorithms[$name])) {
            self::$algorithms[$name] = new $name();
        }

        return self::$algorithms[$name];
    }
protected static function getAlgorithm ( $ name ) { if ( ! isset ( self :: $ algorithms [ $ name ] ) ) { self :: $ algorithms [ $ name ] = new $ name ( ) ; } return self :: $ algorithms [ $ name ] ; }
Factory method which retrieves an instance of the named generator.

@param string $name The fully qualified class name of the name
generation algorithm to retrieve.
Factory method which retrieves an instance of the named generator .