1 | <?php |
||
9 | class AirbrakeExceptionHandler implements ExceptionHandler |
||
10 | { |
||
11 | /** |
||
12 | * @var |
||
13 | */ |
||
14 | private $handler; |
||
15 | |||
16 | /** |
||
17 | * @var Application |
||
18 | */ |
||
19 | private $app; |
||
20 | |||
21 | public function __construct(ExceptionHandler $handler, Application $app) |
||
26 | |||
27 | /** |
||
28 | * Report or log an exception. |
||
29 | * |
||
30 | * @param \Exception $e |
||
31 | * |
||
32 | * @return void |
||
33 | */ |
||
34 | public function report(Exception $e) |
||
42 | |||
43 | /** |
||
44 | * Render an exception into an HTTP response. |
||
45 | * |
||
46 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
47 | * @param \Exception $e |
||
48 | * |
||
49 | * @return \Symfony\Component\HttpFoundation\Response |
||
50 | */ |
||
51 | public function render($request, Exception $e) |
||
55 | |||
56 | /** |
||
57 | * Render an exception to the console. |
||
58 | * |
||
59 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
60 | * @param \Exception $e |
||
61 | * |
||
62 | * @return void |
||
63 | */ |
||
64 | public function renderForConsole($output, Exception $e) |
||
68 | } |
||
69 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.