| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function handle() |
||
| 22 | { |
||
| 23 | $app = $this->application; |
||
| 24 | $errorPageHandler = $app['whoops.error_page_handler']; |
||
| 25 | if ($errorPageHandler instanceof PrettyPageHandler) { |
||
| 26 | $errorPageHandler->addDataTable('Silex Application', array( |
||
| 27 | 'Version' => $app::VERSION, |
||
| 28 | 'Charset' => $app['charset'], |
||
| 29 | 'Route Class' => $app['route_class'], |
||
| 30 | 'Dispatcher Class' => get_class($app['dispatcher']), |
||
| 31 | 'Application Class' => get_class($app), |
||
| 32 | )); |
||
| 33 | } |
||
| 34 | } |
||
| 35 | } |
||
| 36 |