General utility class in Swift Mailer, not to be instantiated.

package Swift
author Chris Corbyn

 Methods

Internal autoloader for spl_autoload_register().

autoload(string $class) 
Static

Parameters

$class

string

Registers an initializer callable that will be called the first time a SwiftMailer class is autoloaded.

init(mixed $callable) 
Static

This enables you to tweak the default configuration in a lazy way.

Parameters

$callable

mixed

A valid PHP callable that will be called when autoloading the first Swift class

Configure autoloading using Swift Mailer.

registerAutoload(mixed $callable) 
Static

This is designed to play nicely with other autoloaders.

Parameters

$callable

mixed

A valid PHP callable that will be called when autoloading the first Swift class

 Properties

 

$initialized 
 

$inits 

 Constants

 

Swift Mailer Version number generated during dist release process

VERSION