Abstract Class Swift
Inheritance | Swift |
---|
General utility class in Swift Mailer, not to be instantiated.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$initialized | Swift | ||
$inits | Swift |
Public Methods
Method | Description | Defined By |
---|---|---|
autoload() | Internal autoloader for spl_autoload_register(). | Swift |
init() | Registers an initializer callable that will be called the first time a SwiftMailer class is autoloaded. | Swift |
registerAutoload() | Configure autoloading using Swift Mailer. | Swift |
Constants
Constant | Value | Description | Defined By |
---|---|---|---|
VERSION | '@SWIFT_VERSION_NUMBER@' | Swift Mailer Version number generated during dist release process | Swift |
Property Details
Method Details
Internal autoloader for spl_autoload_register().
public static void autoload ( $class ) | ||
$class | string |
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.
public static void init ( $callable ) | ||
$callable | mixed | A valid PHP callable that will be called when autoloading the first Swift class |
Configure autoloading using Swift Mailer.
This is designed to play nicely with other autoloaders.
public static void registerAutoload ( $callable = null ) | ||
$callable | mixed | A valid PHP callable that will be called when autoloading the first Swift class |