lithium\template\helper\Security::__construct()
Overrides
lithium\core\Object::__construct()
Constructor. Configures the helper with the default settings for interacting with security tokens.
Parameters
-
array
$config
Returns
voidSource
public function __construct(array $config = []) {
$defaults = ['sessionKey' => 'security.token', 'salt' => null];
parent::__construct($config + $defaults);
}