Conditions | 4 |
Paths | 8 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
39 | protected function changed(Transport $transport = null) : void |
||
40 | { |
||
41 | foreach ($transport ? $this->tpOpening : $this->tpClosed as $observer) { |
||
42 | $observer($transport); |
||
43 | } |
||
44 | |||
45 | $transport |
||
46 | ? logger('traced')->info('Tracing platform activated', ['api' => get_class($transport)]) |
||
47 | : logger('traced')->info('Tracing platform unloaded') |
||
48 | ; |
||
51 |