| 1 | <?php |
||
| 15 | class ErrorHandler implements ErrorHandlerContract |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var \NunoMaduro\Collision\Contracts\Provider |
||
| 19 | */ |
||
| 20 | protected $provider; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Creates a new instance of the class. |
||
| 24 | * |
||
| 25 | * @param \NunoMaduro\Collision\Contracts\Provider|null $provider |
||
| 26 | */ |
||
| 27 | 51 | public function __construct(ProviderContract $provider = null) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | 51 | public function register(): void |
|
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | 8 | public function setOutput(OutputInterface $output): void |
|
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritdoc} |
||
| 51 | */ |
||
| 52 | public function getProvider(): ProviderContract |
||
| 56 | } |
||
| 57 |