Property | Type | Description | |
---|---|---|---|
$config | Illuminate\Contracts\Config\Repository | ||
$mailgun | |||
$message | |||
$view | Illuminate\Contracts\View\Factory |
Method | Description | |
---|---|---|
__construct ( |
||
later ( integer | array | DateTime | Carbon\Carbon $time, string | array $view, array $data, Closure $callback ) : |
||
send ( string | array $view, array $data, Closure $callback, null $message = null ) : |
Method | Description | |
---|---|---|
callMessageBuilder ( Closure $callback, |
Call the provided message builder. | |
renderBody ( string | array $view, array $data ) | Render HTML and/or text body. | |
renderView ( string $view, array $data ) : string | Render the view. | |
setHtmlBody ( string $view, array $data ) | Set rendered HTML body. | |
setRawBody ( string $view ) | Set the raw body | |
setTextBody ( string $view, array $data ) | Set rendered text body. |
Method | Description | |
---|---|---|
parseTime ( integer | array | Carbon\Carbon | DateTime $time ) : string | Parse given time and convert it to the required format |
public __construct ( |
||
$mailgun | ||
$view | Illuminate\Contracts\View\Factory | |
$config | Illuminate\Contracts\Config\Repository |
protected callMessageBuilder ( Closure $callback, |
||
$callback | Closure | |
$message | ||
return | mixed |
protected setHtmlBody ( string $view, array $data ) | ||
$view | string | |
$data | array |
protected setTextBody ( string $view, array $data ) | ||
$view | string | |
$data | array |
protected Repository,Illuminate\Contracts\Config $config | ||
return | Illuminate\Contracts\Config\Repository |