Merge pull request #103 from skipperbent/development

Added setValue method to InputItem class.
This commit is contained in:
Simon Sessingø
2016-05-04 13:41:36 +02:00

View File

@@ -46,6 +46,16 @@ class InputItem {
return $this;
}
/**
* Set input value
* @param string $value
* @return static $this
*/
public function setValue($value) {
$this->value = $value;
return $this;
}
public function __toString() {
return (string)$this->getValue();
}