diff options
Diffstat (limited to 'main/app/sprinkles/FormGenerator/src/Element/InputInterface.php')
-rw-r--r-- | main/app/sprinkles/FormGenerator/src/Element/InputInterface.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/app/sprinkles/FormGenerator/src/Element/InputInterface.php b/main/app/sprinkles/FormGenerator/src/Element/InputInterface.php index 7405109..66225bc 100644 --- a/main/app/sprinkles/FormGenerator/src/Element/InputInterface.php +++ b/main/app/sprinkles/FormGenerator/src/Element/InputInterface.php @@ -6,6 +6,7 @@ * @copyright Copyright (c) 2017 Louis Charette * @license https://github.com/lcharette/UF_FormGenerator/blob/master/LICENSE (MIT License) */ + namespace UserFrosting\Sprinkle\FormGenerator\Element; /** @@ -13,7 +14,9 @@ namespace UserFrosting\Sprinkle\FormGenerator\Element; * * Interface for Form elements classes */ -interface InputInterface { - public function __construct($name, $element, $value = null); +interface InputInterface +{ + public function __construct($name, $element, $value = NULL); + public function parse(); } |