TYPO3  7.6
Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Swift Class Reference

Static Public Member Functions

static init ($callable)
 
static autoload ($class)
 
static registerAutoload ($callable=null)
 

Public Attributes

const VERSION = '@SWIFT_VERSION_NUMBER@'
 

Static Public Attributes

static $initialized = false
 
static $inits = array()
 

Detailed Description

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

Author
Chris Corbyn

Definition at line 17 of file Swift.php.

Member Function Documentation

static autoload (   $class)
static

Internal autoloader for spl_autoload_register().

Parameters
string$class

Definition at line 43 of file Swift.php.

static init (   $callable)
static

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
mixed$callableA valid PHP callable that will be called when autoloading the first Swift class

Definition at line 33 of file Swift.php.

static registerAutoload (   $callable = null)
static

Configure autoloading using Swift Mailer.

This is designed to play nicely with other autoloaders.

Parameters
mixed$callableA valid PHP callable that will be called when autoloading the first Swift class

Definition at line 73 of file Swift.php.

Member Data Documentation

$initialized = false
static

Definition at line 22 of file Swift.php.

$inits = array()
static

Definition at line 23 of file Swift.php.

const VERSION = '@SWIFT_VERSION_NUMBER@'

Swift Mailer Version number generated during dist release process

Definition at line 20 of file Swift.php.