Conditions | 4 |
Paths | 4 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | protected function addToCollections($route) |
||
27 | { |
||
28 | $domainAndUri = $this->_getDomainAndUrl($route); |
||
29 | foreach ($route->methods() as $method) { |
||
30 | if (isset($this->routes[$method][$domainAndUri])) { |
||
31 | if (! $this->isItSelf($this->routesInfo[$method][$domainAndUri])) { |
||
32 | event(new RouteDefinitionConflict($this->routes[$method][$domainAndUri], $route, $this->routesInfo[$method][$domainAndUri])); |
||
33 | } |
||
34 | } |
||
35 | } |
||
36 | parent::addToCollections($route); |
||
37 | } |
||
38 | |||
55 |