Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | class Mailcode_Commands_Command_ElseIf_ListNotContains |
||
24 | extends |
||
25 | Mailcode_Commands_Command_ElseIf_NotContains |
||
26 | implements |
||
27 | Mailcode_Interfaces_Commands_ListVariables, |
||
28 | Mailcode_Interfaces_Commands_ListPropertyVariable, |
||
29 | Mailcode_Interfaces_Commands_RegexEnabled |
||
30 | { |
||
31 | use Mailcode_Traits_Commands_ListVariables; |
||
32 | use Mailcode_Traits_Commands_Validation_ListPropertyVariable; |
||
33 | use Mailcode_Traits_Commands_Validation_RegexEnabled; |
||
34 | |||
35 | protected function getValidations(): array |
||
36 | { |
||
37 | $validations = parent::getValidations(); |
||
38 | $validations[] = 'list_property_variable'; |
||
39 | $validations[] = 'regex_enabled'; |
||
40 | |||
41 | return $validations; |
||
42 | } |
||
43 | |||
44 | protected function _collectListVariables(Mailcode_Variables_Collection_Regular $collection): void |
||
47 | } |
||
48 | } |
||
49 |