Merge pull request #102 from skipperbent/development

Added exist method to Input class.
This commit is contained in:
Simon Sessingø
2016-05-03 07:21:16 +02:00
+4
View File
@@ -97,6 +97,10 @@ class Input {
return $default;
}
public function exists($index) {
return ($this->getObject($index) !== null);
}
public function setGet() {
$this->get = new InputCollection();