title: Symfony Console - Doctrine Generate Proxies
body: <p>I have a problem with generating entity proxies directly to a folder.</p>
  
  <p>I have configured a proxy dir and a proxy namespace, but whenever I run
  <code>orm:generate:proxies</code> command it pushes the output to the console, instead of outputting class code.</p>
  
  <pre><code>$config-&gt;setProxyDir('path');
  $config-&gt;setProxyNamespace('DoctrineEntitiesProxies');
  </code></pre>
  
  <p>The funny thing is, it generates proxies automatically, to the correct folder, but when I run the command with the same instance of entity manager it pushes the output like I said before, to the console.</p>
  
  <p>When I run <code>orm:generate:proxies /tmp</code>, it still stays the same. Output goes to the console.</p>
  
  <p>So the question is, if I am doing it wrong and how to do it right then?</p>
  
  <p>PS. I am using Symfony 2.1</p>