BcMailer
extends Mailer
in package
uses
BcContainerTrait, BcEventDispatcherTrait
Class BcMailer
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor
- deliver() : array<string|int, mixed>
- Render content and send email using configured transport.
- dispatchLayerEvent() : bool|Event
- イベントを発火
- getPlugin() : string
- プラグイン名取得
- getService() : array<string|int, mixed>|mixed|object
- Get Service
- hasService() : bool
- Has Service
- setEmailTransport() : void
- Emailのトランスポート設定を行う
Properties
$_View
View
protected
View
$_View
$plugin
プラグイン名
protected
string
$plugin
= 'BaserCore'
Methods
__construct()
Constructor
public
__construct([null $config = null ]) : mixed
Parameters
- $config : null = null
Tags
deliver()
Render content and send email using configured transport.
public
deliver([string $content = '' ]) : array<string|int, mixed>
Parameters
- $content : string = ''
-
Content.
Tags
Return values
array<string|int, mixed>dispatchLayerEvent()
イベントを発火
public
dispatchLayerEvent(string $name[, array<string|int, mixed> $data = [] ][, mixed $options = [] ]) : bool|Event
Parameters
- $name : string
- $data : array<string|int, mixed> = []
- $options : mixed = []
Tags
Return values
bool|EventgetPlugin()
プラグイン名取得
public
getPlugin() : string
Tags
Return values
stringgetService()
Get Service
public
getService(mixed $service) : array<string|int, mixed>|mixed|object
Parameters
- $service : mixed
Tags
Return values
array<string|int, mixed>|mixed|objecthasService()
Has Service
public
hasService(mixed $service) : bool
Parameters
- $service : mixed
Tags
Return values
boolsetEmailTransport()
Emailのトランスポート設定を行う
public
setEmailTransport() : void