Created
September 13, 2016 14:18
-
-
Save carlosocarvalho/e7a65f0a11cb2847fab9141b4e5d7e5f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
namespace Events; | |
class RegisterUserMailerEvent { | |
public function handler($data){ | |
//script para enviar e-mail. | |
if( mailer()->send($data)) | |
return true; | |
user | |
return false; | |
} | |
} | |
//** Events\RegisterUserMailerEvent.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment