| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | 1 | private function visitMap(MapInterface $map, $destination, $source) |
|
| 17 | { |
||
| 18 | 1 | $mappings = $map->getMappings(); |
|
| 19 | |||
| 20 | 1 | $newDestination = $destination; |
|
| 21 | |||
| 22 | 1 | foreach ($mappings as $mapping) { |
|
| 23 | 1 | $newDestination = $this->visitMapping($mapping, $newDestination, $source); |
|
| 24 | 1 | } |
|
| 25 | |||
| 26 | 1 | return $newDestination; |
|
| 27 | } |
||
| 28 | |||
| 34 |