1 | <?php |
||
21 | class Account extends AbstractApi |
||
22 | { |
||
23 | /** |
||
24 | * @param $parameters |
||
25 | * |
||
26 | * @return mixed |
||
27 | */ |
||
28 | public function changeAccountInfo($parameters) |
||
32 | |||
33 | /** |
||
34 | * @param $parameters |
||
35 | * |
||
36 | * @return mixed |
||
37 | */ |
||
38 | public function changeLanguage($parameters) |
||
42 | |||
43 | /** |
||
44 | * @param $parameters |
||
45 | * |
||
46 | * @return mixed |
||
47 | */ |
||
48 | public function changeMediaTypes($parameters) |
||
52 | |||
53 | /** |
||
54 | * @param $parameters |
||
55 | * |
||
56 | * @return mixed |
||
57 | */ |
||
58 | public function changePriceFormats($parameters) |
||
62 | |||
63 | /** |
||
64 | * @param $parameters |
||
65 | * |
||
66 | * @return mixed |
||
67 | */ |
||
68 | public function changeVerticalCategories($parameters) |
||
72 | |||
73 | /** |
||
74 | * @param $parameters |
||
75 | * |
||
76 | * @return mixed |
||
77 | */ |
||
78 | public function getAccountInfo($parameters) |
||
82 | |||
83 | /** |
||
84 | * @return mixed |
||
85 | */ |
||
86 | public function getAccountManager() |
||
90 | |||
91 | /** |
||
92 | * @return mixed |
||
93 | */ |
||
94 | public function getContactTypes() |
||
98 | |||
99 | /** |
||
100 | * @return mixed |
||
101 | */ |
||
102 | public function getCountries() |
||
106 | |||
107 | /** |
||
108 | * @return mixed |
||
109 | */ |
||
110 | public function getLanguages() |
||
114 | |||
115 | /** |
||
116 | * @return mixed |
||
117 | */ |
||
118 | public function getMediaTypes() |
||
122 | |||
123 | /** |
||
124 | * @return mixed |
||
125 | */ |
||
126 | public function getPaymentToTypes() |
||
130 | |||
131 | /** |
||
132 | * @return mixed |
||
133 | */ |
||
134 | public function getPriceFormats() |
||
138 | |||
139 | /** |
||
140 | * @return mixed |
||
141 | */ |
||
142 | public function getTaxClasses() |
||
146 | |||
147 | /** |
||
148 | * @return mixed |
||
149 | */ |
||
150 | public function getUsStates() |
||
154 | |||
155 | /** |
||
156 | * @return mixed |
||
157 | */ |
||
158 | public function getVerticalCategories() |
||
162 | |||
163 | /** |
||
164 | * @param $parameters |
||
165 | * |
||
166 | * @return mixed |
||
167 | */ |
||
168 | public function resetPassword($parameters) |
||
172 | } |
||
173 |
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: