| Conditions | 2 |
| Paths | 2 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | public function __invoke(string $expression, $keyPath, $validator = null) { |
||
| 36 | if(!RecursiveStructureAccess::recursiveHas($this->map, $keyPath)) { |
||
| 37 | throw new RequiredValueNotFoundException(sprintf("Required value %s not found", json_encode($keyPath, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE))); |
||
| 38 | } |
||
| 39 | return new DBExprFilter($expression, $this->map, $keyPath, $validator); |
||
| 40 | } |
||
| 42 |