1 | <?php namespace Limoncello\Core\Application; |
||
24 | trait ThrowableResponseTrait |
||
25 | { |
||
26 | /** |
||
27 | * @var Throwable |
||
28 | */ |
||
29 | private $throwable; |
||
30 | |||
31 | /** |
||
32 | * @return Throwable |
||
33 | */ |
||
34 | 1 | public function getThrowable(): Throwable |
|
38 | |||
39 | /** |
||
40 | * @param Throwable $throwable |
||
41 | * |
||
42 | * @return self |
||
43 | */ |
||
44 | 2 | protected function setThrowable(Throwable $throwable): self |
|
50 | } |
||
51 |