Documentation

Swift
in package

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

Tags
author

Chris Corbyn

Table of Contents

VERSION  = '6.2.3'
$initialized  : mixed
$inits  : mixed
autoload()  : mixed
Internal autoloader for spl_autoload_register().
init()  : mixed
Registers an initializer callable that will be called the first time a SwiftMailer class is autoloaded.
registerAutoload()  : mixed
Configure autoloading using Swift Mailer.

Constants

VERSION

public mixed VERSION = '6.2.3'

Properties

$initialized

public static mixed $initialized = alse

$inits

public static mixed $inits = []

Methods

autoload()

Internal autoloader for spl_autoload_register().

public static autoload(string $class) : mixed
Parameters
$class : string
Return values
mixed

init()

Registers an initializer callable that will be called the first time a SwiftMailer class is autoloaded.

public static init(mixed $callable) : mixed

This enables you to tweak the default configuration in a lazy way.

Parameters
$callable : mixed

A valid PHP callable that will be called when autoloading the first Swift class

Return values
mixed

registerAutoload()

Configure autoloading using Swift Mailer.

public static registerAutoload([mixed $callable = null ]) : mixed

This is designed to play nicely with other autoloaders.

Parameters
$callable : mixed = null

A valid PHP callable that will be called when autoloading the first Swift class

Return values
mixed

Search results