Last active
August 29, 2015 14:16
-
-
Save nonlocalize/5b914c27895b40137232 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
<?php | |
use YourProject\Services\Mailers\UserMailer; | |
class UsersController extends BaseController | |
{ | |
protected $mail; | |
function __construct(UserMailer $mail) | |
{ | |
$this->mail = $mail; | |
} | |
public function upgrade() | |
{ | |
$this->mail->upgrade(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment