1 | <?php |
||
5 | abstract class Base |
||
6 | { |
||
7 | /** |
||
8 | * @var \Iris\Manager |
||
9 | */ |
||
10 | private $manager; |
||
11 | |||
12 | /** |
||
13 | * @var \Iris\Mapping\Order |
||
14 | */ |
||
15 | private $orderMapping; |
||
16 | |||
17 | /** |
||
18 | * @param \Iris\Manager $manager |
||
19 | */ |
||
20 | 31 | public function __construct(\Iris\Manager $manager) |
|
24 | |||
25 | /** |
||
26 | * @return \Iris\Interfaces\Order |
||
27 | */ |
||
28 | 12 | public function getOrderService() |
|
32 | |||
33 | /** |
||
34 | * @return \Iris\Api\PartnerClient |
||
35 | */ |
||
36 | 4 | public function getPartnerApiClient() |
|
40 | |||
41 | /** |
||
42 | * @return \Iris\Api\VentureClient |
||
43 | */ |
||
44 | 8 | public function getVentureApiClient() |
|
48 | |||
49 | /** |
||
50 | * @return \Iris\Manager |
||
51 | */ |
||
52 | 30 | public function getManager() |
|
56 | |||
57 | /** |
||
58 | * Check if method exists in current context. |
||
59 | * @param string $methodName |
||
60 | * @return bool |
||
61 | */ |
||
62 | protected function canCall($methodName) |
||
69 | |||
70 | /** |
||
71 | * @param string $methodName |
||
72 | * @param array $data |
||
73 | * @return array |
||
74 | */ |
||
75 | final public function call($methodName, array $data = array()) |
||
86 | |||
87 | /** |
||
88 | * @param \ReflectionMethod $method |
||
89 | * @param array $data |
||
90 | * @return array |
||
91 | * @throws \Iris\Exceptions\ParameterNotFound |
||
92 | */ |
||
93 | final protected function mappingArguments(\ReflectionMethod $method, array $data) |
||
104 | |||
105 | /** |
||
106 | * @param $parameterName |
||
107 | * @param \ReflectionMethod $method |
||
108 | * @param $data |
||
109 | * @return void |
||
110 | * @throws \Iris\Exceptions\ParameterNotFound |
||
111 | */ |
||
112 | final protected function validateArgument($parameterName, \ReflectionMethod $method, $data) |
||
118 | |||
119 | /** |
||
120 | * @return \Iris\Mapping\Order |
||
121 | */ |
||
122 | 3 | public function getOrderMapping() |
|
127 | |||
128 | /** |
||
129 | * @param \Iris\Mapping\Order $map |
||
130 | * @return \Iris\SaleWrapper\Venture |
||
131 | */ |
||
132 | 3 | public function setOrderMapping(\Iris\Mapping\Order $map) |
|
137 | } |
||
138 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.