class Factory (View source)

Methods

TransportInterface
createTransportFromConfig(Repository $config)

  • Create a Transport instance from a configuration repository.

TransportInterface
createTransportFromArray(array $array)

Create a Transport instance from a configuration array.

Sendmail
createPhpMailTransportFromArray(array $array)

No description

createSmtpTransportFromArray(array $array)

No description

Details

TransportInterface createTransportFromConfig(Repository $config)

  • Create a Transport instance from a configuration repository.

Parameters

Repository $config

Return Value

TransportInterface

TransportInterface createTransportFromArray(array $array)

Create a Transport instance from a configuration array.

Parameters

array $array

Return Value

TransportInterface

Sendmail createPhpMailTransportFromArray(array $array)

Parameters

array $array

Return Value

Sendmail

Smtp|LimitedSmtp createSmtpTransportFromArray(array $array)

Parameters

array $array

Return Value

Smtp|LimitedSmtp