Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | 10 | public function __construct(InputInterface $input) |
|
35 | { |
||
36 | /** @var string $pathToConfigFile */ |
||
37 | 10 | $pathToConfigFile = $input->getArgument(YamlCommand::ARGUMENT_PATH_TO_CONFIG_FILE); |
|
38 | 10 | $this->pathToConfigFile = $pathToConfigFile; |
|
39 | 10 | $this->fixEnabled = $input->getOption(YamlCommand::OPTION_FIX); |
|
40 | 10 | $this->pathToCacheDir = $input->getOption(YamlCommand::OPTION_PATH_TO_CACHE_DIR); |
|
41 | 10 | $this->disableCache = $input->getOption(YamlCommand::OPTION_DISABLE_CACHE); |
|
42 | } |
||
76 |