1 | <?php |
||
21 | class ReportsLiteClicks extends AbstractApi |
||
22 | { |
||
23 | /** |
||
24 | * @param $parameters |
||
25 | * |
||
26 | * @return mixed |
||
27 | */ |
||
28 | public function campaignSummary($parameters) |
||
32 | |||
33 | /** |
||
34 | * @param $parameters |
||
35 | * |
||
36 | * @return mixed |
||
37 | */ |
||
38 | public function dailySummary($parameters) |
||
42 | |||
43 | /** |
||
44 | * @param $parameters |
||
45 | * |
||
46 | * @return mixed |
||
47 | */ |
||
48 | public function hourlySummary($parameters) |
||
52 | |||
53 | /** |
||
54 | * @param $parameters |
||
55 | * |
||
56 | * @return mixed |
||
57 | */ |
||
58 | public function subAffiliateSummary($parameters) |
||
62 | } |
||
63 |
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: