title: Unable to guess how to get a Doctrine instance from the request information
body: <p>I've got this "500 Internal Server Error - LogicException: <strong>Unable to guess how to get a Doctrine instance from the request information</strong>".</p>
  
  <p>Here is my controller's action definition:</p>
  
  <pre class="lang-php prettyprint-override"><code>/**
   * @Route("/gatherplayer/{player_name}/{gather_id}")
   * @Template()
   */
  public function createAction(Player $player, Gather $gather)
  {
    // ...
  }
  </code></pre>
  
  <p>And it doesn't work, probably because Doctrine 2 can not "guess"... So how do I make Doctrine 2 guess, and well?</p>