samedi 1 avril 2017

Can we store value of @yield in a variable

I have a simple question can we store the value that will be yielded in a variable.

for instance an example

$var = @yield('title')

If no, then is there any way to get the value of this yield



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

Aucun commentaire:

Enregistrer un commentaire