| 1 | <?php |
||
| 24 | class Handler extends AbstractHandler implements HandlerContract |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * Holds an instance of the writer. |
||
| 28 | * |
||
| 29 | * @var \NunoMaduro\Collision\Contracts\Writer |
||
| 30 | */ |
||
| 31 | protected $writer; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Creates an instance of the Handler. |
||
| 35 | */ |
||
| 36 | 7 | public function __construct(WriterContract $writer = null) |
|
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | 1 | public function handle() |
|
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | 1 | public function setOutput(OutputInterface $output): HandlerContract |
|
| 60 | |||
| 61 | /** |
||
| 62 | * {@inheritdoc} |
||
| 63 | */ |
||
| 64 | 1 | public function getWriter(): WriterContract |
|
| 68 | } |
||
| 69 |