PHP Class FluxBB\Handlers\SendWelcomeEmail

Show file Open project: fluxbb/core

Protected Properties

Property Type Description
$config
$mailer
$url

Public Methods

Method Description
__construct ( Illuminate\Contracts\Mail\Mailer $mailer, FluxBB\Models\ConfigRepositoryInterface $config, FluxBB\Web\UrlGeneratorInterface $url )
whenUserHasRegistered ( UserHasRegistered $event )

Protected Methods

Method Description
sendMailTo ( $user, $data )

Method Details

__construct() public method

public __construct ( Illuminate\Contracts\Mail\Mailer $mailer, FluxBB\Models\ConfigRepositoryInterface $config, FluxBB\Web\UrlGeneratorInterface $url )
$mailer Illuminate\Contracts\Mail\Mailer
$config FluxBB\Models\ConfigRepositoryInterface
$url FluxBB\Web\UrlGeneratorInterface

sendMailTo() protected method

protected sendMailTo ( $user, $data )

whenUserHasRegistered() public method

public whenUserHasRegistered ( UserHasRegistered $event )
$event FluxBB\Events\UserHasRegistered

Property Details

$config protected property

protected $config

$mailer protected property

protected $mailer

$url protected property

protected $url