Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function translate(Mailcode_Commands_Command_ShowVariable $command): string |
||
27 | { |
||
28 | if($command->isDecryptionEnabled()) |
||
29 | { |
||
30 | $varName = $this->renderDecryptionKey($command); |
||
31 | } |
||
32 | else |
||
33 | { |
||
34 | $varName = undollarize($command->getVariableName()); |
||
35 | } |
||
36 | |||
37 | return $this->renderVariableEncodings($command, $varName); |
||
38 | } |
||
69 |