Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
30 | public function getOptionParser() |
||
31 | { |
||
32 | return parent::getOptionParser()->addSubcommand( |
||
|
|||
33 | 'start', |
||
34 | [ |
||
35 | 'help' => __('Starts and runs both the websocket service') |
||
36 | ] |
||
37 | )->description(__('Ratchet Websocket service.'))->addOption( |
||
38 | 'verbose', |
||
39 | [ |
||
40 | 'help' => 'Enable verbose output', |
||
41 | 'short' => 'v', |
||
42 | 'boolean' => true |
||
43 | ] |
||
44 | ); |
||
45 | } |
||
46 | } |
||
47 |
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.