src/Input.php
public static function fromRequest ($key, $default=null, $filter=null, $args=array())
    {
        if (!$key) {
            return self::filterArray ($_REQUEST, $filter, $args);
        }

        return self::getPassedValue ($key, $default, 'R', $filter, $args);
    }
public static function fromRequest ($key, $default=null, $filter=null, $args=array())
    {
        if (!$key) {
            return self::filterArray ($_REQUEST, $filter, $args);
        }

        return self::getPassedValue ($key, $default, 'R', $filter, $args);
    }
public static function fromRequest ( $ key , $ default = null , $ filter = null , $ args = array ( ) ) { if ( ! $ key ) { return self :: filterArray ( $ _REQUEST , $ filter , $ args ) ; } return self :: getPassedValue ( $ key , $ default , 'R' , $ filter , $ args ) ; }
Wrapper for REQUEST input

@param string $key     The input field to return.
@param mixed  $default The value to return if the requested field is not found (optional) (default=false).
@param string $filter  The filter directive to apply to the retrieved input (optional) (default=null)
@param array  $args    The filter processing args to apply (optional) (default=array())

@return array|mixed
@throws \Exception
Wrapper for REQUEST input