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