Class Swift
General utility class in Swift Mailer, not to be instantiated.
Abstract
Package: Swift
Author:
Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift.php
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
mixed $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
mixed $callable A valid PHP callable that will be called when autoloading the first
Swift class
|
Magic methods summary
Constants summary
string |
VERSION |
'4.2.1' |
#
Swift Mailer Version number generated during dist release process
Swift Mailer Version number generated during dist release process
|
Properties summary
public static
boolean
|
$initialized |
|
public static
array
|
$inits |
|