Total Complexity | 6 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class Mailcode_Commands_Command_End extends Mailcode_Commands_Command_Type_Closing |
||
22 | { |
||
23 | public function getName() : string |
||
24 | { |
||
25 | return 'end'; |
||
26 | } |
||
27 | |||
28 | public function getLabel() : string |
||
29 | { |
||
30 | return t('Close open command'); |
||
31 | } |
||
32 | |||
33 | public function supportsType(): bool |
||
34 | { |
||
35 | return false; |
||
36 | } |
||
37 | |||
38 | public function requiresParameters(): bool |
||
41 | } |
||
42 | |||
43 | public function generatesContent() : bool |
||
44 | { |
||
45 | return false; |
||
46 | } |
||
47 | |||
48 | protected function getValidations(): array |
||
51 | } |
||
52 | } |
||
53 |