PHP Class Swift, Halite

Author: Chris Corbyn ([email protected])
Show file Open project: HaliteChallenge/Halite Class Usage Examples

Public Properties

Property Type Description
$initialized
$inits

Public Methods

Method Description
autoload ( string $class ) Internal autoloader for spl_autoload_register().
init ( mixed $callable ) Registers an initializer callable that will be called the first time a SwiftMailer class is autoloaded.
registerAutoload ( mixed $callable = null ) Configure autoloading using Swift Mailer.

Method Details

autoload() public static method

Internal autoloader for spl_autoload_register().
public static autoload ( string $class )
$class string

init() public static method

This enables you to tweak the default configuration in a lazy way.
public static init ( mixed $callable )
$callable mixed A valid PHP callable that will be called when autoloading the first Swift class

registerAutoload() public static method

This is designed to play nicely with other autoloaders.
public static registerAutoload ( mixed $callable = null )
$callable mixed A valid PHP callable that will be called when autoloading the first Swift class

Property Details

$initialized public static property

public static $initialized

$inits public static property

public static $inits