protected function getEnvironmentVariables()
    {
        $env = array();

        foreach ($_SERVER as $name => $val) {
            if (is_array($val) || !in_array(strtolower($name), $this->getEnvironmentVariablesThatICareAbout())) {
                // In the future, this could be supported
                continue;
            }

            $env['env.'.$name] = $val;
        }

        return $env;
    }
protected function getEnvironmentVariables()
    {
        $env = array();

        foreach ($_SERVER as $name => $val) {
            if (is_array($val) || !in_array(strtolower($name), $this->getEnvironmentVariablesThatICareAbout())) {
                // In the future, this could be supported
                continue;
            }

            $env['env.'.$name] = $val;
        }

        return $env;
    }
protected function getEnvironmentVariables ( ) { $ env = array ( ) ; foreach ( $ _SERVER as $ name => $ val ) { if ( is_array ( $ val ) || ! in_array ( strtolower ( $ name ) , $ this -> getEnvironmentVariablesThatICareAbout ( ) ) ) { // In the future, this could be supported continue ; } $ env [ 'env.' . $ name ] = $ val ; } return $ env ; }
Returns an array of various environmental variables

@return array
Returns an array of various environmental variables