title: How to have an array in a parameter file?
body: <p>I'm using Symfony2.1 and I need to save an array in a config/parameter file because I would modify the content of this array often (probably once every 6 months) (it contains email addresses).</p>
  
  <p>I know that I can save a string in parameters.yml for example using :</p>
  
  <p>in app/config/parameters.yml</p>
  
  <pre><code>parameters
      address: 'example@domain.com'
  </code></pre>
  
  <p>and retrieving this parameter using $this->container->getParameter('address') in a controller, but I have many recipients and I would like to have something like :</p>
  
  <pre><code>    parameters
          address: array('example@domain.com', 'example2@domain.com', 'example3@domain.com)
  #the number of addresses is actually not defined
  </code></pre>