| 1 | <?php |
||
| 13 | final class Component extends AbstractComponent |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | protected $handlers = []; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var array |
||
| 22 | */ |
||
| 23 | protected $formatters = []; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return array |
||
| 27 | */ |
||
| 28 | 4 | public function resolveWhoops() : array |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | 1 | public function resolveBooboo() : array |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @param callable $callback |
||
| 47 | * @return array |
||
| 48 | */ |
||
| 49 | 1 | public function resolveCustom(callable $callback) : array |
|
| 53 | |||
| 54 | /** |
||
| 55 | * @param mixed ...$handlers |
||
| 56 | * @return $this |
||
| 57 | */ |
||
| 58 | 2 | public function handlers(...$handlers) |
|
| 64 | |||
| 65 | /** |
||
| 66 | * @param mixed ...$formatters |
||
| 67 | * @return $this |
||
| 68 | */ |
||
| 69 | 2 | public function formatters(...$formatters) |
|
| 75 | } |
||
| 76 |