Total Complexity | 4 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
13 | class UpdatePackagesInfo extends Command |
||
14 | { |
||
15 | /** |
||
16 | * @var EntityManagerInterface |
||
17 | */ |
||
18 | private $em; |
||
19 | |||
20 | /** |
||
21 | * @var Version |
||
22 | */ |
||
23 | private $version; |
||
24 | |||
25 | /** |
||
26 | * ImportModuleCommand constructor. |
||
27 | * @param EntityManagerInterface $em |
||
28 | * @param Version $version |
||
29 | * @param string|null $name |
||
30 | */ |
||
31 | public function __construct(EntityManagerInterface $em, Version $version, string $name = null) |
||
32 | { |
||
33 | parent::__construct($name); |
||
34 | $this->em = $em; |
||
35 | $this->version = $version; |
||
36 | } |
||
37 | |||
38 | protected function configure() |
||
43 | ; |
||
44 | } |
||
45 | |||
46 | protected function execute(InputInterface $input, OutputInterface $output) |
||
59 |