1 | <?php namespace Anomaly\Streams\Platform\Ui\Table\Component\Action\Handler; |
||
17 | class Reorder extends ActionHandler implements SelfHandling |
||
18 | { |
||
19 | |||
20 | /** |
||
21 | * Save the order of the entries. |
||
22 | * |
||
23 | * @param TableBuilder $builder |
||
24 | * @param Request $request |
||
25 | */ |
||
26 | public function handle(TableBuilder $builder, Request $request) |
||
49 | } |
||
50 |
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: