Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | 10 | public function __construct(InputInterface $input) |
|
40 | { |
||
41 | /** @var string $pathToConfigFile */ |
||
42 | 10 | $pathToConfigFile = $input->getArgument(YamlCommand::ARGUMENT_PATH_TO_CONFIG_FILE); |
|
43 | 10 | $this->pathToConfigFile = $pathToConfigFile; |
|
44 | 10 | $this->fixEnabled = $input->getOption(YamlCommand::OPTION_FIX); |
|
45 | 10 | $this->pathToCacheDir = $input->getOption(YamlCommand::OPTION_PATH_TO_CACHE_DIR); |
|
46 | 10 | $this->disableCache = $input->getOption(YamlCommand::OPTION_DISABLE_CACHE); |
|
47 | 10 | $this->disableProgressBar = $input->getOption(YamlCommand::OPTION_DISABLE_PROGRESS_BAR); |
|
48 | } |
||
90 |