laroute icon indicating copy to clipboard operation
laroute copied to clipboard

Change collection type for Route Collections

Open sdonchez opened this issue 4 years ago • 1 comments

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.

sdonchez avatar Jan 15 '21 19:01 sdonchez

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

sdonchez avatar Feb 09 '21 20:02 sdonchez