1 | <?php |
||
9 | class OptimusGenerate extends Command |
||
10 | { |
||
11 | /** |
||
12 | * The name and signature of the console command. |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $signature = 'optimus:generate {--show : Display the values instead of modifying files}'; |
||
17 | |||
18 | /** |
||
19 | * The console command description. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $description = 'Set Optimus prime values'; |
||
24 | |||
25 | /** |
||
26 | * Execute the console command. |
||
27 | * |
||
28 | * @return mixed |
||
29 | */ |
||
30 | public function handle() |
||
45 | |||
46 | /** |
||
47 | * Print Optimus values. |
||
48 | * |
||
49 | * @param array $values |
||
50 | */ |
||
51 | protected function printValues($values, $method = 'comment') |
||
58 | |||
59 | /** |
||
60 | * Set Optimus values in the environment file. |
||
61 | * |
||
62 | * @param array $values |
||
63 | */ |
||
64 | protected function setValuesInEnvironmentFile($values) |
||
81 | } |
||
82 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.