title: How to get application root path in Symfony 4 Console Command
body: <p>I have a simple <strong>Symfony 4</strong> Console application. 
  In <code>execute()</code> method i need to print application root path.</p>
  
  <p>This <code>$this-&gt;getContainer()-&gt;get('kernel')-&gt;getRootDir()</code> - don't work.<br/>
  This <code>$this-&gt;get('kernel')-&gt;getRootDir();</code> - don't work.<br/>
  This <code>$this-&gt;get('parameter_bag')-&gt;get('kernel.project_dir');</code> - don't work.<br/></p>
  
  <p>How can i get application root path? </p>