/span><span class="p">))</span> <span class="p">{</span>
              <span class="nx">abort</span><span class="p">(</span><span class="mi">404</span><span class="p">);</span>
        <span class="p">}</span>

        <span class="k">return</span> <span class="nv">$next</span><span class="p">(</span><span class="nv">$request</span><span class="p">);</span>
    <span class="p">}</span>
<span class="p">}</span>
</code></pre></div></td></tr></table></div>

<h2 id="metodo-canpermission">Método can($permission