1 | <?php |
||
16 | final class ClearCartCommand extends Command |
||
17 | { |
||
18 | /** |
||
19 | * @var CommandBusInterface |
||
20 | */ |
||
21 | private $commandBus; |
||
22 | |||
23 | /** |
||
24 | * @var UuidGeneratorInterface |
||
25 | */ |
||
26 | private $uuidGenerator; |
||
27 | |||
28 | /** |
||
29 | * @param CommandBusInterface $commandBus |
||
30 | * @param UuidGeneratorInterface $uuidGenerator |
||
31 | */ |
||
32 | public function __construct(CommandBusInterface $commandBus, UuidGeneratorInterface $uuidGenerator) |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | protected function configure() |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | protected function execute(InputInterface $input, OutputInterface $output) |
||
72 | } |
||
73 |