• File: SessionUpdateTimestampHandlerInterface.php
  • Full Path: /home/docteuh/www/stubs/SessionUpdateTimestampHandlerInterface.php
  • Date Modified: 12/06/2023 7:16 PM
  • File size: 525 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

/* namespace Google\Site_Kit_Dependencies intentionally removed */

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