| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 7 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 47 | public function add(?string $group = null, string $name, RouteMatcher $router)  | 
            ||
| 48 |     { | 
            ||
| 49 | $group = $group ? $this->finder->getFullName($group) : $this->default;  | 
            ||
| 50 |         if (\array_key_exists($group, $this->routes)) { | 
            ||
| 51 | $this->routes[$group]->add($name, $router);  | 
            ||
| 52 |         } else { | 
            ||
| 53 | $this->routes[$group] = new RouteCollection([$name => $router]);  | 
            ||
| 54 | }  | 
            ||
| 72 |