| 1 | <?php declare(strict_types=1); |
||
| 26 | trait ThrowableResponseTrait |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * @var Throwable |
||
| 30 | */ |
||
| 31 | private $throwable; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return Throwable |
||
| 35 | */ |
||
| 36 | 1 | public function getThrowable(): Throwable |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @param Throwable $throwable |
||
| 43 | * |
||
| 44 | * @return self |
||
| 45 | */ |
||
| 46 | 2 | protected function setThrowable(Throwable $throwable): self |
|
| 52 | } |
||
| 53 |