title: How to replace variable in Blade?
body: <p>For example I have blade template:</p>
  
  <pre><code>$a = $parameter;
  
  @if (count($parameter['children']) &gt; 0)
     {{$a}}
  @endif
  </code></pre>
  
  <p>How to put <code>$parameter['children']</code> above <code>if</code> to another variable? That to iterate this variable below in script </p>