mirror of
https://github.com/pestphp/pest.git
synced 2026-06-05 02:52:12 +02:00
25 lines
425 B
PHP
25 lines
425 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pest\Plugins\Tia\Contracts;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
interface State
|
|
{
|
|
public function read(string $key): ?string;
|
|
|
|
public function write(string $key, string $content): bool;
|
|
|
|
public function delete(string $key): bool;
|
|
|
|
public function exists(string $key): bool;
|
|
|
|
/**
|
|
* @return list<string>
|
|
*/
|
|
public function keysWithPrefix(string $prefix): array;
|
|
}
|