lithium\template\helper\Security::__construct()

public method

Constructor. Configures the helper with the default settings for interacting with security tokens.

Parameters

  • array $config

Returns

void

Source

	public function __construct(array $config = []) {
		$defaults = ['sessionKey' => 'security.token', 'salt' => null];
		parent::__construct($config + $defaults);
	}