Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
1 <?php | |
2 | |
3 interface 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 } |