| Conditions | 3 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | public function addCollector(CollectorInterface $collector) |
||
| 48 | { |
||
| 49 | // debugging |
||
| 50 | if ($this instanceof DebuggableInterface && $this->isDebugging()) { |
||
| 51 | $this->debug( |
||
| 52 | Message::get(Message::RTE_COLLECTOR_ADD, get_class($collector)) |
||
| 53 | ); |
||
| 54 | $this->delegateDebugger($collector); |
||
| 55 | } |
||
| 56 | |||
| 57 | $this->collectors[] = $collector; |
||
| 58 | return $this; |
||
| 59 | } |
||
| 60 | |||
| 80 |