Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class ImportGame extends Command |
||
13 | { |
||
14 | /** |
||
15 | * @var GameInterface |
||
16 | */ |
||
17 | private $game; |
||
18 | |||
19 | const COMMAND_NAME = 'api:import:game'; |
||
20 | const DESCRIPTION = 'Import games from api'; |
||
21 | |||
22 | /** |
||
23 | * @param GameInterface $game |
||
24 | */ |
||
25 | public function __construct(GameInterface $game) |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return void |
||
33 | */ |
||
34 | protected function configure() |
||
35 | { |
||
36 | $this->setName(static::COMMAND_NAME) |
||
37 | ->setDescription(static::DESCRIPTION); |
||
38 | } |
||
39 | |||
40 | protected function execute(InputInterface $input, OutputInterface $output) |
||
43 | } |
||
44 | } |