1 | <?php |
||
7 | abstract class Component { |
||
8 | |||
9 | /** |
||
10 | * @var array |
||
11 | */ |
||
12 | protected $dontHandle = []; |
||
13 | |||
14 | /** |
||
15 | * This array is overwritten in each component |
||
16 | * |
||
17 | * @var array |
||
18 | */ |
||
19 | private $absolutelyDontHandle = []; |
||
20 | |||
21 | /** |
||
22 | * Determine if the exception is in the "do not handle" list. |
||
23 | * |
||
24 | * @param \Exception $e |
||
25 | * @return bool |
||
26 | */ |
||
27 | 18 | protected function shouldntHandle(Exception $e) { |
|
38 | } |