From the Laravel docs, you can include \'sections\' inside layouts using two methods:
@section(\'sidebar\') Thi
The shortest answer:
Use @yield in master if you want to overwrite child data on master layout completely.
@yield
Use @section in master if you want to use master and child data together on child with @parent (Or overwrite child data on master layout like @yield)
@section
@parent