| Total Complexity | 5 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | abstract class BaseCommandTranslation |
||
| 27 | { |
||
| 28 | private SyntaxInterface $syntax; |
||
| 29 | |||
| 30 | public function getLabel() : string |
||
| 31 | { |
||
| 32 | return $this->syntax->getLabel(); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getSyntaxName() : string |
||
| 36 | { |
||
| 37 | return $this->syntax->getTypeID(); |
||
| 38 | } |
||
| 39 | |||
| 40 | public function __construct(SyntaxInterface $syntax) |
||
| 43 | } |
||
| 44 | |||
| 45 | protected function hasVariableEncodings(Mailcode_Commands_Command $command) : bool |
||
| 48 | } |
||
| 49 | } |
||
| 50 |