Changes some global preference settings in Swift Mailer.

package Swift
author Chris Corbyn

 Methods

Get a new instance of Preferences.

getInstance() : \Swift_Preferences
Static

Set the type of cache to use (i.e.

setCacheType(string $type) : \Swift_Preferences

"disk" or "array").

Parameters

$type

string

Returns

Set the default charset used.

setCharset(string $charset) : \Swift_Preferences

Parameters

$charset

string

Returns

Add the

setQPDotEscape(boolean $dotEscape) : \Swift_Preferences

Parameters

$dotEscape

boolean

Returns

Set the directory where temporary files can be saved.

setTempDir(string $dir) : \Swift_Preferences

Parameters

$dir

string

Returns

Constructor not to be used

__construct() 

 Properties

 

$_instance