src/Session/Integrity.php
public static function setToken(string $variableName = '_MF_SESSION_INTEGRITY_TOKEN_'): bool
    {
        static::init();
        $variableName = (string)$variableName;
        $vHandler = Variables::getInstance();
        $vHandler->session->set($variableName, static::buildToken());
        return true;
    }
public static function setToken(string $variableName = '_MF_SESSION_INTEGRITY_TOKEN_'): bool
    {
        static::init();
        $variableName = (string)$variableName;
        $vHandler = Variables::getInstance();
        $vHandler->session->set($variableName, static::buildToken());
        return true;
    }
public static function setToken ( string $ variableName = '_MF_SESSION_INTEGRITY_TOKEN_' ) : bool { static :: init ( ) ; $ variableName = ( string ) $ variableName ; $ vHandler = Variables :: getInstance ( ) ; $ vHandler -> session -> set ( $ variableName , static :: buildToken ( ) ) ; return true ; }
Sets session integrity token according to session configuration

@param string $variableName
@return bool
Sets session integrity token according to session configuration