Get the parameters.yml params in the AppKernel.php
<p>Can anybody knows how can I get the parameters.yml (or _dev) in the AppKernel.php ?</p>

<p>I want to change the getLogDir() variables('mylogsdir') dynamicly ?</p>

<p>AppKernel.php :</p>

<pre><code>$this-&gt;rootDir.'/'.$this-&gt;environment.'/'.$myLogDir;
</code></pre>

<p>parameters.yml:</p>

<pre><code>parameters:
    myLogDir: 'logdir'
</code></pre>

<p>Is it possible ?</p>

<p>Thanks a lot
Fabrice</p>