My question is pretty simple and I could not find an answer for it online, so can we cast a blade @yield to a php variable?
Here's the thing that I would like to do:
<?php
$page = @yield('page');
?>
I don't think it's possible, but is there a solutions to this?
Thanks for your time!
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2EEXCIo
via IFTTT
Aucun commentaire:
Enregistrer un commentaire