| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function callFunction($name, $arguments, Context $context) |
||
| 31 | { |
||
| 32 | $functions = $this->uqlExtensionContainer->getFunctions(); |
||
| 33 | if (!isset($functions[$name])) { |
||
| 34 | throw new FunctionNotFoundException("Could not find UQL function $name"); |
||
| 35 | } |
||
| 36 | |||
| 37 | return $functions[$name]->call($arguments, $context); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |