Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
53 | protected function attachListeners() |
||
54 | { |
||
55 | foreach ($this->eventsListening() as $method) { |
||
56 | if (is_array($method)) { |
||
57 | list($method, $priority) = $method; |
||
58 | $this->provider->attach([$this, $method], $priority); |
||
59 | } else { |
||
60 | $this->provider->attach([$this, $method]); |
||
61 | } |
||
62 | } |
||
63 | } |
||
64 | } |