Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
#44 — Add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefersson Nathan committed Apr 25, 2017
1 parent c8a9c4f commit e6214e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function __construct(RouteCollection $collection, ContainerInterface $con
{
$this->routes = $collection;

// @todo remove this heavy operation from construct
foreach ($this->routes->all() as $route) {
$name = $route->getName();
if (null !== $name) {
Expand Down

0 comments on commit e6214e3

Please sign in to comment.