Skip to content

Commit

Permalink
[FrameworkBundle] removed Controller::getMailer() method (just use ->…
Browse files Browse the repository at this point in the history
…container['mailer'] instead)
  • Loading branch information
fabpot committed Jul 27, 2010
1 parent f131ac4 commit 88c7427
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Symfony/Bundle/FrameworkBundle/Controller.php
Expand Up @@ -47,11 +47,6 @@ public function setRequest(Request $request)
return $this->request = $request;
}

public function getMailer()
{
return $this->container->getMailerService();
}

public function createResponse($content = '', $status = 200, array $headers = array())
{
$response = $this->container->getResponseService();
Expand Down

0 comments on commit 88c7427

Please sign in to comment.