Browse Source

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

Fabien Potencier 15 năm trước cách đây
mục cha
commit
5fa4b0bdf0
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  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();