Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getRouteCollection called in IndexTrait #2

Open
robertbasic opened this issue Oct 21, 2019 · 0 comments
Open

getRouteCollection called in IndexTrait #2

robertbasic opened this issue Oct 21, 2019 · 0 comments

Comments

@robertbasic
Copy link

getRouteCollection method is a very costly method and the IndexTrait is using it. This needs a taking a look at as it can be very costly.

$compiledRoute = $router->getRouteCollection()->get($routeName)->compile();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant