1 | <?php |
||
11 | class MagicMethodHelper |
||
12 | { |
||
13 | /** |
||
14 | * Calls methods from the specified object in underscore case. |
||
15 | * |
||
16 | * @param object $object |
||
17 | * @param string $method |
||
18 | * @param mixed $parameters |
||
19 | * @param object|null $anotherObject |
||
20 | * @return mixed |
||
21 | */ |
||
22 | 18 | public static function call($object, $method, $parameters, $anotherObject = null) |
|
37 | } |
||
38 |