Merge pull request #93 from skipperbent/development

Development
This commit is contained in:
Simon Sessingø
2016-04-15 23:21:00 +02:00
+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) {