Class Swift
General utility class in Swift Mailer, not to be instantiated.
Methods summary
public static
|
#
init( mixed $callable )
Registers an initializer callable that will be called the first time
a SwiftMailer class is autoloaded.
Registers an initializer callable that will be called the first time
a SwiftMailer class is autoloaded.
This enables you to tweak the default configuration in a lazy way.
Parameters
- $callable
- A valid PHP callable that will be called when autoloading the first Swift class
|
public static
|
#
autoload( string $class )
Internal autoloader for spl_autoload_register().
Internal autoloader for spl_autoload_register().
Parameters
|
public static
|
#
registerAutoload( mixed $callable = null )
Configure autoloading using Swift Mailer.
Configure autoloading using Swift Mailer.
This is designed to play nicely with other autoloaders.
Parameters
- $callable
- A valid PHP callable that will be called when autoloading the first Swift class
|
Constants summary
string |
VERSION
Swift Mailer Version number generated during dist release process
Swift Mailer Version number generated during dist release process
|
|