src/Command/AbstractCommand.php 1 location
|
@@ 190-192 (lines=3) @@
|
| 187 |
|
array $config = ['debug' => false], |
| 188 |
|
array $options = ['verbosity' => Builder::VERBOSITY_NORMAL] |
| 189 |
|
) { |
| 190 |
|
if (!file_exists($this->getPath().'/'.self::CONFIG_FILE)) { |
| 191 |
|
throw new \Exception(sprintf('Config file not found in "%s"!', $this->getPath())); |
| 192 |
|
} |
| 193 |
|
// verbosity: verbose |
| 194 |
|
if ($options['verbosity'] == Builder::VERBOSITY_VERBOSE) { |
| 195 |
|
$this->verbose = true; |
src/Command/Command.php 1 location
|
@@ 104-106 (lines=3) @@
|
| 101 |
|
OutputInterface $output, |
| 102 |
|
array $config = ['debug' => false] |
| 103 |
|
) { |
| 104 |
|
if (!file_exists($this->getPath().'/'.self::CONFIG_FILE)) { |
| 105 |
|
throw new \Exception(sprintf('Config file not found in "%s"!', $this->getPath())); |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
try { |
| 109 |
|
$configFile = Yaml::parse(file_get_contents($this->getPath().'/'.self::CONFIG_FILE)); |