1 | <?php |
||
13 | class ExampleAsteriskClient extends AppInstance |
||
14 | { |
||
15 | |||
16 | public $asteriskclient; |
||
17 | |||
18 | public $asteriskconn; |
||
19 | |||
20 | /** |
||
21 | * Constructor. |
||
22 | * @return void |
||
23 | */ |
||
24 | public function init() |
||
30 | |||
31 | /** |
||
32 | * Called when the worker is ready to go. |
||
33 | * @return void |
||
34 | */ |
||
35 | public function onReady() |
||
42 | |||
43 | public function connect() |
||
57 | |||
58 | /** |
||
59 | * Called when application instance is going to shutdown. |
||
60 | * @return boolean Ready to shutdown? |
||
61 | */ |
||
62 | public function onShutdown($graceful = false) |
||
69 | |||
70 | /** |
||
71 | * Setting default config options |
||
72 | * Overriden from AppInstance::getConfigDefaults |
||
73 | * @return array|false |
||
74 | */ |
||
75 | protected function getConfigDefaults() |
||
83 | } |
||
84 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.