Total Complexity | 4 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class StaticCommand extends Command |
||
11 | { |
||
12 | private $staticAppGenerator; |
||
13 | |||
14 | public function __construct(StaticAppGenerator $staticAppGenerator) |
||
18 | } |
||
19 | |||
20 | protected function configure() |
||
21 | { |
||
22 | $this |
||
23 | ->setName('static:generate') |
||
24 | ->setDescription('Generate static version for your website') |
||
25 | ->addArgument('host', InputArgument::OPTIONAL); |
||
26 | } |
||
27 | |||
28 | protected function execute(InputInterface $input, OutputInterface $output) |
||
39 | } |
||
40 | } |
||
41 |