| Total Complexity | 9 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class Mailcode_Commands_Command_End extends Mailcode_Commands_Command implements Mailcode_Commands_Command_Type_Closing |
||
| 22 | { |
||
| 23 | use Mailcode_Traits_Commands_Type_Closing; |
||
| 24 | |||
| 25 | public function getName() : string |
||
| 26 | { |
||
| 27 | return 'end'; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getLabel() : string |
||
| 31 | { |
||
| 32 | return t('Close open command'); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function supportsType(): bool |
||
| 36 | { |
||
| 37 | return false; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function supportsURLEncoding() : bool |
||
| 41 | { |
||
| 42 | return false; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getDefaultType() : string |
||
| 48 | } |
||
| 49 | |||
| 50 | public function requiresParameters(): bool |
||
| 51 | { |
||
| 52 | return false; |
||
| 53 | } |
||
| 54 | |||
| 55 | public function supportsLogicKeywords() : bool |
||
| 58 | } |
||
| 59 | |||
| 60 | public function generatesContent() : bool |
||
| 61 | { |
||
| 62 | return false; |
||
| 63 | } |
||
| 64 | |||
| 65 | protected function getValidations(): array |
||
| 68 | } |
||
| 69 | } |
||
| 70 |