title: issue while using extend & yield for Master Layout
body: <p><a href="https://i.stack.imgur.com/63cm0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/63cm0.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/3GYz4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3GYz4.png" alt="enter image description here"></a>@yield('header') not working dont know why please help</p>
  
  <p>Directory structure
  view 
  Folder:master->Files masterPage.blade.php,header.blade.php
  Folder:userControl-> Files dashboard.balde.php</p>
  
  <p>Master page code:</p>
  
  <pre><code>&lt;div class="wrapper"&gt;   
    @yield('header') **not working**
        &lt;!-- Left side column. contains the logo and sidebar --&gt;
  
        &lt;!-- Content Wrapper. Contains page content --&gt;
        @yield('content')  **working**
        &lt;!-- /.content-wrapper --&gt;
        &lt;footer class="main-footer"&gt;
  
        &lt;/footer&gt;
  </code></pre>
  
  <p>Header.blade.php</p>
  
  <pre><code>  @extends('master.masterPage')
      @section('header')
  
      &lt;header class="main-header"&gt;          
         some code
      &lt;/header&gt;
      @stop
  </code></pre>