Must be one method to get _GET. getGet() is just duplication

This commit is contained in:
egorpromo
2013-11-16 23:25:44 +07:00
parent f217948bf4
commit c16c181247

View File

@ -311,15 +311,6 @@ class Request extends \yii\base\Request
return isset($_GET[$name]) ? $_GET[$name] : $defaultValue;
}
/**
* Returns the GET request parameter values.
* @return array the GET request parameter values
*/
public function getGet()
{
return $_GET;
}
/**
* Returns the named POST parameter value.
* If the POST parameter does not exist, the second parameter to this method will be returned.