Ergo\Error\ErrorContext::_consoleContext PHP Method

_consoleContext() protected method

protected _consoleContext ( )
    protected function _consoleContext()
    {
        $user = isset($_SERVER['USER']) ? $_SERVER['USER'] : 'unknown';
        return array('Environment' => 'Console', 'Host Name' => gethostname(), 'User' => $user, 'Script' => $_SERVER['SCRIPT_FILENAME'], 'Working Dir' => getcwd(), 'Umask' => sprintf("%04o", umask()));
    }