Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function translate(Mailcode_Commands_Command_End $command): string |
||
26 | { |
||
27 | // This ending command is tied to a preprocessing command: Since |
||
28 | // we do not want to keep these, we return an empty string to strip |
||
29 | // it out. |
||
30 | if($command->getOpeningCommand() instanceof Mailcode_Interfaces_Commands_PreProcessing) { |
||
31 | return ''; |
||
32 | } |
||
33 | |||
34 | return '#{end}'; |
||
35 | } |
||
37 |