PHP Class Flarum\Core\Notification\NotificationMailer

显示文件 Open project: flarum/core Class Usage Examples

Protected Properties

Property Type Description
$mailer Illuminate\Contracts\Mail\Mailer

Public Methods

Method Description
__construct ( Illuminate\Contracts\Mail\Mailer $mailer )
send ( Flarum\Core\Notification\MailableInterface $blueprint, User $user )

Method Details

__construct() public method

public __construct ( Illuminate\Contracts\Mail\Mailer $mailer )
$mailer Illuminate\Contracts\Mail\Mailer

send() public method

public send ( Flarum\Core\Notification\MailableInterface $blueprint, User $user )
$blueprint Flarum\Core\Notification\MailableInterface
$user Flarum\Core\User

Property Details

$mailer protected_oe property

protected Mailer,Illuminate\Contracts\Mail $mailer
return Illuminate\Contracts\Mail\Mailer