src/Http/Input.php
public static function register()
    {
        self::$list = [];
        //
        self::$list['post'] = !isset($_POST) ?: $_POST;
        self::$list['get'] = !isset($_GET) ?: $_GET;
        self::$list['session'] = !isset($_SESSION) ?: $_SESSION;
        self::$list['cookie'] = !isset($_COOKIE) ?: $_COOKIE;
        self::$list['files'] = !isset($_FILES) ?: $_FILES;
        self::$list['server'] = !isset($_SERVER) ?: $_SERVER;
        self::$list['env'] = !isset($_ENV) ?: $_ENV;
        self::$list['request'] = !isset($_REQUEST) ?: $_REQUEST;
        //
        return self::$list;
    }
public static function register()
    {
        self::$list = [];
        //
        self::$list['post'] = !isset($_POST) ?: $_POST;
        self::$list['get'] = !isset($_GET) ?: $_GET;
        self::$list['session'] = !isset($_SESSION) ?: $_SESSION;
        self::$list['cookie'] = !isset($_COOKIE) ?: $_COOKIE;
        self::$list['files'] = !isset($_FILES) ?: $_FILES;
        self::$list['server'] = !isset($_SERVER) ?: $_SERVER;
        self::$list['env'] = !isset($_ENV) ?: $_ENV;
        self::$list['request'] = !isset($_REQUEST) ?: $_REQUEST;
        //
        return self::$list;
    }
public static function register ( ) { self :: $ list = [ ] ; // self :: $ list [ 'post' ] = ! isset ( $ _POST ) ? : $ _POST ; self :: $ list [ 'get' ] = ! isset ( $ _GET ) ? : $ _GET ; self :: $ list [ 'session' ] = ! isset ( $ _SESSION ) ? : $ _SESSION ; self :: $ list [ 'cookie' ] = ! isset ( $ _COOKIE ) ? : $ _COOKIE ; self :: $ list [ 'files' ] = ! isset ( $ _FILES ) ? : $ _FILES ; self :: $ list [ 'server' ] = ! isset ( $ _SERVER ) ? : $ _SERVER ; self :: $ list [ 'env' ] = ! isset ( $ _ENV ) ? : $ _ENV ; self :: $ list [ 'request' ] = ! isset ( $ _REQUEST ) ? : $ _REQUEST ; // return self :: $ list ; }
regsiter all http input vars.

@return array
regsiter all http input vars .