title: Symfony2 - Defining boolean parameter in parameters.ini
body: <p>I'm having problems to define a boolean parameter in <code>parameters.ini</code> file. This is the definition:</p>
  
  <pre><code>aParameter = true
  </code></pre>
  
  <p>Then, in <code>config.yml</code> I do:</p>
  
  <pre><code>aParameter: %aParameter%
  </code></pre>
  
  <p>But I'm getting this error:</p>
  
  <blockquote>
    <p>InvalidTypeException: Invalid type for path "myService.aParameter". Expected boolean, but got string.</p>
  </blockquote>
  
  <p>This error disappears when I replace <code>%aParameter%</code> with <code>true</code>. What am I doing wrong?</p>