title: ZF2 dissable layout in view templates (phtml files)
body: <p>i was trying to dissable layout in my override of zfc user login page </p>
  
  <p>here is what i tried so far :</p>
  
  <pre><code>$this-&gt;viewmodel()-&gt;getCurrent()-&gt;setTerminal(true);
  
  $this-&gt;viewmodel()-&gt;getRoot()-&gt;setTerminal(true);
  </code></pre>