Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
42 | public function getOptionParser() |
||
43 | { |
||
44 | $parser = new ConsoleOptionParser('deployer', false); |
||
45 | $parser->description( |
||
|
|||
46 | 'This shell is used when deploying the application.' |
||
47 | )->addSubcommand('clear_cache', [ |
||
48 | 'help' => 'Clear the cache files.', |
||
49 | 'parser' => $this->ClearCache->getOptionParser() |
||
50 | ]); |
||
51 | |||
52 | return $parser; |
||
53 | } |
||
54 | } |
||
55 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.