* @copyright walkor * @link http://www.workerman.net/ * @license http://www.opensource.org/licenses/mit-license.php MIT License */ namespace Workerman\Protocols\Http\Session; use \SessionHandlerInterface as InternalSessionHandlerInterface; interface SessionHandlerInterface extends InternalSessionHandlerInterface { /** * Update sesstion modify time. * * @see https://www.php.net/manual/en/class.sessionupdatetimestamphandlerinterface.php * * @param string $id Session id. * @param string $data Session Data. * * @return bool */ public function updateTimestamp($id, $data = ""); }