agent foundation
This commit is contained in:
19
lib/Http/SessionStoreInterface.php
Normal file
19
lib/Http/SessionStoreInterface.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace MintyPHP\Http;
|
||||
|
||||
interface SessionStoreInterface
|
||||
{
|
||||
public function get(string $key, mixed $default = null): mixed;
|
||||
|
||||
public function set(string $key, mixed $value): void;
|
||||
|
||||
public function has(string $key): bool;
|
||||
|
||||
public function remove(string $key): void;
|
||||
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function all(): array;
|
||||
}
|
||||
Reference in New Issue
Block a user