src/Console/LlumCommand.php 1 location
|
@@ 123-131 (lines=9) @@
|
120 |
|
* @param InputInterface $input |
121 |
|
* @param OutputInterface $output |
122 |
|
*/ |
123 |
|
protected function initialize(InputInterface $input, OutputInterface $output) |
124 |
|
{ |
125 |
|
parent::initialize($input, $output); |
126 |
|
if (($input->hasOption('dev'))) { |
127 |
|
if (($input->getOption('dev'))) { |
128 |
|
$this->installDev = true; |
129 |
|
} |
130 |
|
} |
131 |
|
} |
132 |
|
|
133 |
|
/* |
134 |
|
* gets dev option |
src/Traits/LaravelConfigFile.php 1 location
|
@@ 29-35 (lines=7) @@
|
26 |
|
* @param InputInterface $input |
27 |
|
* @param OutputInterface $output |
28 |
|
*/ |
29 |
|
protected function initialize(InputInterface $input, OutputInterface $output) |
30 |
|
{ |
31 |
|
parent::initialize($input, $output); |
32 |
|
if ($input->hasOption('no-bash')) { |
33 |
|
$this->noBash = $input->getOption('no-bash'); |
34 |
|
} |
35 |
|
} |
36 |
|
|
37 |
|
/** |
38 |
|
* Check is --no-bash option is active. |