| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | public function invokeMethod(&$object, $methodName, array $parameters = array()) |
||
| 48 | { |
||
| 49 | $reflection = new \ReflectionClass(get_class($object)); |
||
| 50 | $method = $reflection->getMethod($methodName); |
||
| 51 | $method->setAccessible(true); |
||
| 52 | |||
| 53 | return $method->invokeArgs($object, $parameters); |
||
| 54 | } |
||
| 55 | } |