Total Complexity | 4 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | abstract class AbstractType |
||
14 | { |
||
15 | /** |
||
16 | * Proxy method which forwards requests to an underlying handler. |
||
17 | * |
||
18 | * @param string $nodeName The name of the method being called. |
||
19 | * @param array $args Any arguments passed into that method. |
||
20 | * |
||
21 | * @return mixed |
||
22 | * |
||
23 | * @codingStandardsIgnoreStart |
||
24 | * |
||
25 | * |
||
26 | * @codingStandardsIgnoreEnd |
||
27 | */ |
||
28 | public function __call(string $nodeName, array $args) |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * Gets the standard, pre-formatted message for unresolvable method calls. |
||
47 | * |
||
48 | * @param string $nodeName The short version of the call (without the `get`). |
||
49 | * |
||
50 | * @return string |
||
51 | */ |
||
52 | protected function getUnresolvableMessage(string $nodeName): string |
||
60 |