Is it possible to yield to another view but then default with an include statement?
The intended action is that if the subview does not include the header, then the current template will include the partials.header view.
It is possible. But you can’t use blade tags inside blade tags. What you can do however is use
View::make() instead of
@include actually compiles to a
make call on the view factory.