framework/web/Request.php
public function get($name = null, $defaultValue = null)
    {
        if ($name === null) {
            return $this->getQueryParams();
        }

        return $this->getQueryParam($name, $defaultValue);
    }
public function get($name = null, $defaultValue = null)
    {
        if ($name === null) {
            return $this->getQueryParams();
        }

        return $this->getQueryParam($name, $defaultValue);
    }
public function get ( $ name = null , $ defaultValue = null ) { if ( $ name === null ) { return $ this -> getQueryParams ( ) ; } return $ this -> getQueryParam ( $ name , $ defaultValue ) ; }
Returns GET parameter with a given name. If name isn't specified, returns an array of all GET parameters.

@param string $name the parameter name
@param mixed $defaultValue the default parameter value if the parameter does not exist.
@return array|mixed
Returns GET parameter with a given name . If name isn t specified returns an array of all GET parameters .