| 1 | <?php |
||
| 15 | class RouteViewerRoutes extends RouteRegistrar |
||
| 16 | { |
||
| 17 | /* ----------------------------------------------------------------- |
||
| 18 | | Main Methods |
||
| 19 | | ----------------------------------------------------------------- |
||
| 20 | */ |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Map routes. |
||
| 24 | */ |
||
| 25 | 48 | public function map(): void |
|
| 32 | } |
||
| 33 |
If you implement
__calland 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
__callis implemented by a parent class and only the child class knows which methods exist: