| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function resolve($container) |
||
| 32 | { |
||
| 33 | if (!$this->supports($container)) { |
||
| 34 | throw new LinkResolutionException('Link type not supported'); |
||
| 35 | } |
||
| 36 | |||
| 37 | /** @var ContainerLinkInterface $container */ |
||
| 38 | $result = []; |
||
| 39 | foreach ($container as $link) { |
||
| 40 | $result = array_merge($result, $this->matchResolver($link)->resolve($link)); |
||
| 41 | } |
||
| 42 | |||
| 43 | return $result; |
||
| 44 | } |
||
| 45 | |||
| 68 |