  protected function updateObjectFromRequest($content)
  {
    $this->object->importFrom('xml', $content);
  }

  protected function updateObjectFromRequest($content)
  {
    $this->object->importFrom('array', $this->parsePayload($content));
  }

Support foreign keys serialization during object creation
[sfDoctrineRestGeneratorPlugin]: Support foreign keys serialization during object creation

git-svn-id: 61b081f4c054ffac195be9e2cfc7002f55369afb@26289 ee427ae8-e902-0410-961c-c3ed070cd9f9
