1 | <?php |
||
17 | class ChkipperController extends \hidev\controllers\CommonController |
||
18 | { |
||
19 | protected $_before = ['chkipper.json']; |
||
20 | |||
21 | public function getConfiguration() |
||
25 | |||
26 | public function actionMake() |
||
30 | |||
31 | public function actionBump($version = null) |
||
42 | |||
43 | public function actionReleaseNotes() |
||
47 | |||
48 | public function getReleaseNotes() |
||
52 | } |
||
53 |
If you implement
__call
and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.This is often the case, when
__call
is implemented by a parent class and only the child class knows which methods exist: