| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2.0185 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | 186 | public function __call($name, $arguments) { |
|
| 26 | # ToDo: This is used in Definition\Fluid\Means as well. |
||
| 27 | 186 | $schema = $this->rt->get_schema($name); |
|
| 28 | 186 | if ($schema === null) { |
|
| 29 | throw new \InvalidArgumentException("Unknown rule '$name'."); |
||
| 30 | } |
||
| 31 | 186 | return $schema->fluid_interface($this->rt, $this->name, $this->mode, $arguments); |
|
| 32 | 1 | } |
|
| 33 | } |
||
| 34 |