| 1 | <?php declare(strict_types=1); |
||
| 22 | class ThrowSpec implements ThrowSpecInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $class; |
||
| 28 | /** |
||
| 29 | * @var ExceptionHandlerInterface |
||
| 30 | */ |
||
| 31 | private $handler; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $class |
||
| 35 | * @param ExceptionHandlerInterface $handler |
||
| 36 | */ |
||
| 37 | 1 | public function __construct(string $class, ExceptionHandlerInterface $handler) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function getClass(): string |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function getHandler(): ExceptionHandlerInterface |
||
| 58 | } |
||
| 59 |