Is it possible to store the output of @include('view.name')
into a variable?
Something like this:
$var = @include('view.name')
{{$var}}
The reason I want to do that I want to pass @include('view.name')
into Blade::directive()
For example:
@blocksection([
'Title',
'<p>Descrption</p>,
@include('view.name'),
])
// HTML
@endblocksection
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1oot2Jr
via IFTTT
Aucun commentaire:
Enregistrer un commentaire