File "SessionUpdateTimestampHandlerInterface.php"

Full Path: /var/www/bvnghean.vn/wp-content/plugins/updraftplus/vendor/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php
File size: 458 bytes
MIME-type: text/x-php
Charset: utf-8

<?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);
}