Wordpress/WpProvider.php
protected function getFromGlobal(string $name)
    {
        if (isset($GLOBALS[$name])) {
            return $GLOBALS[$name];
        }

        throw new \ErrorException(
            sprintf("Undefined global variable (%s) called!", $name));
    }
protected function getFromGlobal(string $name)
    {
        if (isset($GLOBALS[$name])) {
            return $GLOBALS[$name];
        }

        throw new \ErrorException(
            sprintf("Undefined global variable (%s) called!", $name));
    }
protected function getFromGlobal ( string $ name ) { if ( isset ( $ GLOBALS [ $ name ] ) ) { return $ GLOBALS [ $ name ] ; } throw new \ ErrorException ( sprintf ( "Undefined global variable (%s) called!" , $ name ) ) ; }
Get global namespace variable
@param string $name
@return mixed
@throws \ErrorException
Get global namespace variable