| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 11 | class Import extends Command |
||
| 12 | { |
||
| 13 | protected static $defaultName = 'pim:import'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var \App\Backend\Import\PimImport |
||
| 17 | */ |
||
| 18 | private $pimImport; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param \App\Backend\Import\PimImport $pimImport |
||
| 22 | */ |
||
| 23 | public function __construct(PimImport $pimImport) |
||
| 27 | } |
||
| 28 | |||
| 29 | |||
| 30 | protected function configure() : void |
||
| 31 | { |
||
| 32 | $this->setDescription('Import product'); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param \Symfony\Component\Console\Input\InputInterface $input |
||
| 37 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
| 38 | * @return int |
||
| 39 | */ |
||
| 40 | protected function execute(InputInterface $input, OutputInterface $output) : int |
||
| 45 | } |
||
| 46 | } |
||
| 47 |