lithium\template\helper\Security::__construct PHP Method

__construct() public method

Constructor. Configures the helper with the default settings for interacting with security tokens.
public __construct ( array $config = [] ) : void
$config array
return void
    public function __construct(array $config = array())
    {
        $defaults = array('sessionKey' => 'security.token', 'salt' => null);
        parent::__construct($config + $defaults);
    }