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