title: PHP Symfony Route has some missing mandatory parameters
body: <p>I am having a problen with using an object with a url_for method, I thought the idea was any require parapeters were found automatically?</p>
  
  <pre><code>The "/publish/:id/:token" route has some missing mandatory parameters (:id, :token).
  </code></pre>
  
  <p>routing.yml</p>
  
  <pre><code>post_publish:
    url:     /publish/:id/:token
    options:
      model: HookupPost
      type:  object
      method_for_criteria: doSelectOneInactive
    param:   { module: post, action: show }
    requirements:
      id: \d+
      token: \w+
      sf_method: [GET]
  </code></pre>
  
  <p>newSuccess.php</p>
  
  <pre><code>&lt;?php echo public_path(url_for("@post_publish", $post), true); ?&gt;
  </code></pre>
  
  <p>Where $post is passed by the action and contains the recently created post!</p>
  
  <p>Does anyone know why this error is occurring? Have I misunderstood something?</p>
  
  <p>Thanks,</p>