| 1 | <?php namespace Distilleries\Expendable\Http\Controllers\Backend; |
||
| 10 | class ServiceController extends BaseComponent { |
||
| 11 | |||
| 12 | public function __construct(ServiceDatatable $datatable, ServiceForm $form, Service $model, LayoutManagerContract $layoutManager) |
||
| 18 | |||
| 19 | |||
| 20 | // ------------------------------------------------------------------------------------------------ |
||
| 21 | |||
| 22 | public function getSynchronize(Registrar $router) |
||
| 48 | } |
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: