| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 69.23% |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class Plugin extends AbstractPlugin |
||
| 23 | { |
||
| 24 | const HANDLER_ERROR_LOG = 'error_log'; |
||
| 25 | const HANDLER_DEVELOPMENT = 'development'; |
||
| 26 | |||
| 27 | protected $events = ['plugins_loaded' => 'onPluginsLoaded']; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * called on 'plugins_loaded' event |
||
| 31 | * |
||
| 32 | * @param null $data |
||
|
|
|||
| 33 | * @throws \Phile\Exception\ServiceLocatorException |
||
| 34 | */ |
||
| 35 | 28 | public function onPluginsLoaded($data = null) |
|
| 54 |