We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85ffedc commit 5b63309Copy full SHA for 5b63309
src/Filter/ValidateOptionsInterface.php
@@ -0,0 +1,16 @@
1
+<?php
2
+
3
+declare(strict_types = 1);
4
5
+namespace PHPModelGenerator\Filter;
6
7
+interface ValidateOptionsInterface
8
+{
9
+ /**
10
+ * Implement validations against the provided options array.
11
+ * The validation will be executed during the model generation process.
12
+ * Simply throw an exception if the provided options are invalid for your custom filter
13
+ * (e.g. missing required option)
14
+ */
15
+ public function validateOptions(array $options): void;
16
+}
0 commit comments