Ejemplo n.º 1
0
 /**
  * @Route("/new")
  */
 public function createUserForm()
 {
     $oauthData = $this->request->getSession()->get('oauth2.data');
     $user = new UserEntity();
     $user->setName($oauthData['user']->getName());
     return $this->showForm($user);
 }