title: ZF2: How can I set basePath to be the same for a whole application?
body: <p>The manual's example shows how to set the basePath only for some specific <code>viewModel</code>: </p>
  
  <pre><code>$this-&gt;getHelper('basePath')-&gt;setBasePath()
  </code></pre>
  
  <p>But I want to set it somewhere in one place and then it is the same for any <code>viewModel</code> I create in any Controller. How can I do it?</p>