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