Explorar o código

[FrameworkBundle] removed Controller::getUser() as it is now accessible via Request::getSession()

Fabien Potencier %!s(int64=15) %!d(string=hai) anos
pai
achega
5fa4b0bdf0
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      src/Symfony/Bundle/FrameworkBundle/Controller.php

+ 0 - 5
src/Symfony/Bundle/FrameworkBundle/Controller.php

@@ -47,11 +47,6 @@ class Controller
         return $this->request = $request;
     }
 
-    public function getUser()
-    {
-        return $this->container->getUserService();
-    }
-
     public function getMailer()
     {
         return $this->container->getMailerService();