public static function get($key)
    {
        self::getInstance();

        if (array_key_exists($key, self::$settings))
        {
            return self::$settings[$key];
        }

        throw new \InvalidArgumentException("The key $key doesn't exist in the Config Registry.");
    }
public static function get($key)
    {
        self::getInstance();

        if (array_key_exists($key, self::$settings))
        {
            return self::$settings[$key];
        }

        throw new \InvalidArgumentException("The key $key doesn't exist in the Config Registry.");
    }
public static function get ( $ key ) { self :: getInstance ( ) ; if ( array_key_exists ( $ key , self :: $ settings ) ) { return self :: $ settings [ $ key ] ; } throw new \ InvalidArgumentException ( "The key $key doesn't exist in the Config Registry." ) ; }
Gets a setting value
@param string $key The setting name
@return mixed
@throws InvalidArgumentException
Gets a setting value