summaryrefslogtreecommitdiffstats
path: root/vendor/ipl/html/src/Contract/FormElementDecorator.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ipl/html/src/Contract/FormElementDecorator.php')
-rw-r--r--vendor/ipl/html/src/Contract/FormElementDecorator.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/ipl/html/src/Contract/FormElementDecorator.php b/vendor/ipl/html/src/Contract/FormElementDecorator.php
new file mode 100644
index 0000000..1e862bb
--- /dev/null
+++ b/vendor/ipl/html/src/Contract/FormElementDecorator.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace ipl\Html\Contract;
+
+use ipl\Html\ValidHtml;
+
+/**
+ * Representation of form element decorators
+ */
+interface FormElementDecorator extends ValidHtml
+{
+ /**
+ * Decorate the given form element
+ *
+ * @param FormElement $formElement
+ */
+ public function decorate(FormElement $formElement);
+}