You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TAATP/src/SessionInterface.php

18 lines
383 B

<?php declare(strict_types=1);
namespace BradyMcD\TAATP;
/**
* Implements a session interaction wrapper.
* It is SUGGESTED that this be implemented by the user of this module.
*/
interface SessionInterface
{
function live(): bool;
function tryStore(string $key, mixed $val): bool;
function store(string $key, mixed $val);
function get(string $key): mixed;
}
?>