krz/vox-populi

A Tumblr web client.

clone: git clone https://gitbay.org/krz/vox-populi.git

main: vendor/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php · raw

 1<?php
 2
 3interface SessionUpdateTimestampHandlerInterface
 4{
 5    /**
 6     * Checks if a session identifier already exists or not.
 7     *
 8     * @param string $key
 9     *
10     * @return bool
11     */
12    public function validateId($key);
13
14    /**
15     * Updates the timestamp of a session when its data didn't change.
16     *
17     * @param string $key
18     * @param string $val
19     *
20     * @return bool
21     */
22    public function updateTimestamp($key, $val);
23}