| 1 | <?php |
||
| 9 | class SyncEvent extends Event |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var OutputInterface |
||
| 13 | */ |
||
| 14 | private $output; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param null|OutputInterface $output |
||
| 18 | */ |
||
| 19 | 4 | public function __construct(OutputInterface $output = null) |
|
| 20 | { |
||
| 21 | 4 | if (! $output) { |
|
| 22 | $output = new NullOutput(); |
||
| 23 | } |
||
| 24 | |||
| 25 | 4 | $this->output = $output; |
|
| 26 | 4 | } |
|
| 27 | |||
| 28 | 4 | public function getOutput() |
|
| 32 | } |
||
| 33 |