mardi 27 octobre 2015

Get all views in a namespace with Laravel 5

What's the best way to get all views in a namespace in Laravel 5?

I have a bunch of views that are related to documentation for a system. I'd like to have one page that shows all of these views on one page (using @includes) so that the user can then effectively print all documentation.

If the views were all in one directory, I could just traverse the filesystem and get the views that way, however the views are spread across multiple packages using a particular namespace.

Is there a way to get all of the views in a particular namespace, or to at least find all packages that are publishing views in a particular namespace?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire