Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Knot\Dict\Helpers; |
||
110 | public static function execute(Dict $knot, $arguments, $functionName) |
||
111 | { |
||
112 | $data = $knot->toArray(); |
||
113 | |||
114 | $underscoreObject = \__($data); |
||
115 | $targetFunction = [ $underscoreObject, $functionName ]; |
||
116 | |||
117 | return call_user_func_array($targetFunction, $arguments); |
||
118 | } |
||
119 | |||
121 |