Abstract Class Swift

InheritanceSwift

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

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$initialized Swift
$inits Swift

Public Methods

Hide inherited methods

MethodDescriptionDefined 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

Hide inherited constants

ConstantValueDescriptionDefined By
VERSION '@SWIFT_VERSION_NUMBER@' Swift Mailer Version number generated during dist release process Swift

Property Details

$initialized public static property
public static $initialized false
$inits public static property
public static $inits = []

Method Details

autoload() public static method

Internal autoloader for spl_autoload_register().

public static void autoload ( $class )
$class string
init() public static method

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

registerAutoload() public static method

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