spatie / laravel-menu

Html menu generator for Laravel
https://freek.dev/414-a-modern-package-to-generate-html-menus
MIT License
914 stars 83 forks source link

allow the fill() and build() methods to accept collections #142

Closed sjefmoling closed 1 year ago

sjefmoling commented 1 year ago

would be cool if the fill() and build() not only accept array& \Iterator but also collections or iterable I used a custom macro to make it work, but it seems possible to pass collections or anything iterable