Selaa lähdekoodia

[FrameworkBundle] removed Controller::getMailer() method (just use ->container['mailer'] instead)

Fabien Potencier 15 vuotta sitten
vanhempi
commit
88c742731d
1 muutettua tiedostoa jossa 0 lisäystä ja 5 poistoa
  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 getMailer()
-    {
-        return $this->container->getMailerService();
-    }
-
     public function createResponse($content = '', $status = 200, array $headers = array())
     {
         $response = $this->container->getResponseService();