Saturday, April 1, 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 Alen

Advertisement