Removed old input method from Request class.

This commit is contained in:
Simon Sessingø
2016-04-15 23:20:16 +02:00
parent 7fdeef74d6
commit ec355c90b5
+4 -6
View File
@@ -125,13 +125,11 @@ class Request {
}
/**
* Get request input or default value
* @param string $name
* @param string $defaultValue
* @return mixed
* Get input class
* @return Input
*/
public function getInput($name, $defaultValue) {
return (isset($_REQUEST[$name]) ? $_REQUEST[$name] : $defaultValue);
public function getInput() {
return $this->input;
}
public function isFormatAccepted($format) {