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



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire