Closed
Description
It would be awesome if you were able to just pass model objects instead of arrays when generating routes. That would allow for complete flexibility when generating routes, without having to worry about changing the parameter array that is passed everywhere where URLs are generated.
In relation to these issues:
symfony/symfony#5999
illuminate/database#38
(Meaning I've raised this at the Symfony routing level and tried to implement ArrayAccess for models, which should simplify this).
Metadata
Metadata
Assignees
Labels
No labels