title: Getting multiple rows using ParamConverter
body: <p>Hi Im trying to use ParamConverter to get multiple rows from DB but profiler show query with <code>limi 1</code>. Is it possible to get it like that </p>
  
  <pre><code>/**
  * @Route("/localization/{code}", name="pkt-index")
  * @ParamConverter("localizations", class="PriceBundle:Localization")
  */
  </code></pre>
  
  <p>after entering <code>localization/0003</code> I should get more than 100 rows.</p>
  
  <p><strong>EDIT:</strong>
  I have used <code>repository_method</code> option 
  and </p>
  
  <pre><code>/*
  * @Route("/localization/{id}", name="pkt-index")
  * @ParamConverter("localizations", class="PriceBundle:Localization", options={
  * "repository_method": "getByLocalizationCode"
  * })
  */
  </code></pre>
  
  <p>but funny thing is that when I change <code>{id}</code> in route it does not work it throws and exception
  <code>SQLSTATE[HY093]: Invalid parameter number: parameter was not defined</code>
  even if variable exists in entity class, if variable dont exist it throws
  <code>Unable to guess how to get a Doctrine instance from the request information.</code></p>
  
  <p><strong>EXPLANATION</strong></p>
  
  <blockquote>
    <p>when I change <code>{id}</code> in route it does not work it throws and exception
    <code>SQLSTATE[HY093]: Invalid parameter number: parameter was not defined</code></p>
  </blockquote>
  
  <p>Here I think symfony treads <code>id</code> like primary key and as parameter to repository method it pass <code>string</code> when I changed this <code>id</code> to something else it pass <code>array</code></p>
  
  <p>Example</p>
  
  <pre><code>/**
  * @Route("/localization/{id}", name="pkt-index")
  */
  </code></pre>
  
  <p>pass <code>string</code> to method</p>
  
  <pre><code>/**
  * @Route("/localization/{code}/{name}", name="pkt-index")
  */
  </code></pre>
  
  <p>pass <code>array</code> to method</p>
  
  <pre><code>array(
      'code' =&gt; 003
      'name' =&gt; localization_name
  )
  </code></pre>
  
  <p>and last </p>
  
  <pre><code>/**
  * @Route("/localization/{id}/{name}", name="pkt-index")
  */
  </code></pre>
  
  <p>will pass <code>string</code> id omit the name</p>
  
  <p>Hope this sounds reasonable.</p>