Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | private function computeExchangeName($exchangeName) |
||
35 | { |
||
36 | $exchangeParts = []; |
||
37 | |||
38 | if(! empty($this->exchangesPrefix)) |
||
39 | { |
||
40 | $exchangeParts[] = trim($this->exchangesPrefix); |
||
41 | } |
||
42 | |||
43 | $exchangeParts[] = $exchangeName; |
||
44 | |||
45 | return trim(implode(self::DELIMITER, $exchangeParts)); |
||
46 | |||
47 | } |
||
48 | |||
61 |