| Total Complexity | 6 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class Mailcode_Commands_Command_Comment extends Mailcode_Commands_Command_Type_Standalone |
||
| 22 | { |
||
| 23 | public function getName() : string |
||
| 24 | { |
||
| 25 | return 'comment'; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getLabel() : string |
||
| 29 | { |
||
| 30 | return t('Add a comment'); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function supportsType(): bool |
||
| 36 | } |
||
| 37 | |||
| 38 | public function requiresParameters(): bool |
||
| 39 | { |
||
| 40 | return true; |
||
| 41 | } |
||
| 42 | |||
| 43 | protected function getValidations() : array |
||
| 46 | } |
||
| 47 | |||
| 48 | public function generatesContent() : bool |
||
| 53 |