PHP Class App\Listeners\HandleUserSignedUp

Show file Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$accountRepo App\Ninja\Repositories\AccountRepository
$userMailer App\Ninja\Mailers\UserMailer

Public Methods

Method Description
__construct ( AccountRepository $accountRepo, UserMailer $userMailer ) Create the event handler.
handle ( UserSignedUp $event ) : void Handle the event.

Method Details

__construct() public method

Create the event handler.
public __construct ( AccountRepository $accountRepo, UserMailer $userMailer )
$accountRepo App\Ninja\Repositories\AccountRepository
$userMailer App\Ninja\Mailers\UserMailer

handle() public method

Handle the event.
public handle ( UserSignedUp $event ) : void
$event App\Events\UserSignedUp
return void

Property Details

$accountRepo protected property

protected AccountRepository,App\Ninja\Repositories $accountRepo
return App\Ninja\Repositories\AccountRepository

$userMailer protected property

protected UserMailer,App\Ninja\Mailers $userMailer
return App\Ninja\Mailers\UserMailer