MailerFactoryInterface

Interface defining a factory which can create mailer objects.

since

4.4.0

package

Joomla CMS

Methods

createMailer

Method to get an instance of a mailer. If the passed settings are null, then the mailer does use the internal configuration.

createMailer(\Joomla\Registry\Registry settings = null) : \Joomla\CMS\Mail\MailerInterface
since

4.4.0

Arguments

settings

Registry|nullThe configuration

Response

MailerInterface