mardi 29 novembre 2016

Laravel 5 helper to convert class name to dot case?

Is there a helper to convert this:

\App\Models\MyModel

to this:

app.models.my_model

I have written my own helper for this, but it seems like a very common thing for the Laravel framework, so I thought I may be missing the built-in version.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2gCdMZW
via IFTTT

Aucun commentaire:

Enregistrer un commentaire