| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 11 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 3 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 21 | 4 | public function __invoke(PathInterface $from, PathInterface $to): PathInterface | |
| 22 |     { | ||
| 23 | 4 |         foreach ($this->resolvers as $resolve) { | |
| 24 |             try { | ||
| 25 | 4 | return $resolve($from, $to); | |
| 26 | 4 |             } catch (ValueNotSupported $e) { | |
| 27 | //pass | ||
| 28 | } | ||
| 29 | } | ||
| 30 | |||
| 31 | 1 | throw new ValueNotSupported((string) $to); | |
| 32 | } | ||
| 34 |