give
/
vendor
/
symfony
/
polyfill-php70
/
Resources
/
stubs
/
SessionUpdateTimestampHandlerInterface.php
ArithmeticError.php
4 years ago
AssertionError.php
4 years ago
DivisionByZeroError.php
4 years ago
Error.php
4 years ago
ParseError.php
4 years ago
SessionUpdateTimestampHandlerInterface.php
4 years ago
TypeError.php
4 years ago
SessionUpdateTimestampHandlerInterface.php
24 lines
| 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 | } |
| 24 |