Created
November 3, 2014 06:14
-
-
Save nachopants/26906c3aff61c66c10e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#MyBarBundle\Controller\EmailController | |
class NotifyAFagController extends FOSRestController | |
{ | |
public function getTellMeSomethingAction($fag) | |
{ | |
$EmailController->getDeliverAction('you are a fag'); | |
} | |
} | |
#MyFooBundle\Controller\EmailController | |
class EmailController extends FOSRestController | |
{ | |
public function getDeliverAction($fag) | |
{ | |
$aws = $this->get('platinum_pixs_aws.ses'); | |
$awsClient = $aws->get('Ses'); | |
$result = $awsClient->sendEmail('deros@deros.com', $fag) | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment