mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-05 09:04:19 +01:00
- Autoloader for portal files in the itop-portal-base module - Dependencies moved to root composer.json - Add autoloader for /core and /application content
24 lines
458 B
PHP
24 lines
458 B
PHP
<?php
|
|
|
|
interface SessionUpdateTimestampHandlerInterface
|
|
{
|
|
/**
|
|
* Checks if a session identifier already exists or not.
|
|
*
|
|
* @param string $key
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function validateId($key);
|
|
|
|
/**
|
|
* Updates the timestamp of a session when its data didn't change.
|
|
*
|
|
* @param string $key
|
|
* @param string $val
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function updateTimestamp($key, $val);
|
|
}
|