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

Change collection type for Route Collections #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sdonchez
Copy link

@sdonchez sdonchez commented Jan 15, 2021

Changes the collection type from RouteCollection to AbstractRouteCollection, which is a common ancestor of both RouteCollection and CompiledRouteCollection. Calls getRoutes to retrieve an iterable route collection instead of just passing the RouteCollection object, which enables the same functionality for both collection types.

It looks like the phpunit check for this isn't fully implemented, but I'm able to execute the laroute:generate command with these changes and all of my routes generate successfully.

…h routes regardless of abstractRouteCollection implementation (compiled or not)
@sdonchez
Copy link
Author

sdonchez commented Feb 9, 2021

@aaronlord is there anything I can do to help get this closed?

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

Successfully merging this pull request may close these issues.

1 participant