title: How to extend Laravel Blade functionality and add 'break' and 'continue' support
body: <p>I would like to add <code>@continue</code> and <code>@break</code> statements for my Blade engine in order to control my loops.</p>
  
  <p>I've seen into the sources an <code>extend</code> function for the BladeEngine, and I've tried to use it in my <code>routes.php</code> file:</p>
  
  <pre><code>Blade::extend(function ($value) {
      $pattern = Blade::createMatcher('continue');
      return preg_replace($pattern, '$1&lt;?php continue; ?&gt;$2', $value);
  });
  </code></pre>
  
  <p>One of my views:</p>
  
  <pre><code>@if (isset($meta['foo']) &amp;&amp; !$meta['bar'])
      @continue
  @else
      &lt;li&gt;{{$meta['pseudo']}}&lt;/li&gt;
  @endif
  </code></pre>
  
  <p>But the rendered HTML page shows me <code>@continue</code>.</p>
  
  <p>Any idea of how make it work?</p>