| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public static function multipleRoutesFound($routes) |
||
| 18 | { |
||
| 19 | $helperText = ''; |
||
| 20 | foreach ($routes as $route) { |
||
| 21 | /* @var \Drest\Mapping\RouteMetaData $route */ |
||
| 22 | $helperText .= '"' . $route->getName() . '"'; |
||
| 23 | } |
||
| 24 | |||
| 25 | return new self('Multiple routes have matched to this request. See route definitions for: ' . $helperText); |
||
| 26 | } |
||
| 27 | } |
||
| 28 |