Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | final class StepTimeLoggerController implements Controller |
||
13 | { |
||
14 | /** |
||
15 | * @var Config |
||
16 | */ |
||
17 | private $config; |
||
18 | |||
19 | /** |
||
20 | * @param Config $config |
||
21 | */ |
||
22 | public function __construct(Config $config) |
||
23 | { |
||
24 | $this->config = $config; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * Configures command to be executable by the controller. |
||
29 | * |
||
30 | * @param SymfonyCommand $command |
||
31 | */ |
||
32 | public function configure(SymfonyCommand $command) |
||
33 | { |
||
34 | $command->addOption('--log-step-times', null, InputOption::VALUE_NONE, 'Log step times'); |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function execute(InputInterface $input, OutputInterface $output) |
||
44 | } |
||
45 | } |
||
46 | } |