public static function get($key)
    {
        $config = json_decode(file_get_contents(PATH . '/app/config.json'), true);

        if (! array_key_exists($key, $config)) {
            throw new ConfigItemNotSetException($key);
        }

        return $config[$key];
    }
public static function get($key)
    {
        $config = json_decode(file_get_contents(PATH . '/app/config.json'), true);

        if (! array_key_exists($key, $config)) {
            throw new ConfigItemNotSetException($key);
        }

        return $config[$key];
    }
public static function get ( $ key ) { $ config = json_decode ( file_get_contents ( PATH . '/app/config.json' ) , true ) ; if ( ! array_key_exists ( $ key , $ config ) ) { throw new ConfigItemNotSetException ( $ key ) ; } return $ config [ $ key ] ; }
Get Config item by key.

@param $key
@return mixed
@throws ConfigItemNotSetException
Get Config item by key .