MailServiceProvider
class MailServiceProvider extends ServiceProvider (View source)
Methods
void
register()
Register the service provider.
static
array
pathsToPublish(
string $provider = null,
string $group = null)
Get the paths to publish.
from ServiceProvider
void
commands(
array|mixed $commands)
Register the package's custom Artisan commands.
from ServiceProvider
array
provides()
Get the services provided by the provider.
static
array
compiles()
Get a list of files that should be compiled for the package.
from ServiceProvider
mixed
__call(
string $method,
array $parameters)
Dynamically handle missing method calls.
from ServiceProvider
void
registerSwiftMailer()
Register the Swift Mailer instance.
Details
in ServiceProvider at line line 44
void
__construct(
Application $app)
Create a new service provider instance.
in ServiceProvider at line line 131
static
array
pathsToPublish(
string $provider = null,
string $group = null)
Get the paths to publish.
in ServiceProvider at line line 168
void
commands(
array|mixed $commands)
Register the package's custom Artisan commands.
in ServiceProvider at line line 197
array
when()
Get the events that trigger this service provider to register.
in ServiceProvider at line line 217
static
array
compiles()
Get a list of files that should be compiled for the package.
in ServiceProvider at line line 231
mixed
__call(
string $method,
array $parameters)
Dynamically handle missing method calls.