chore: complete update
This commit is contained in:
12
src/Framework/Cache/CacheDriver.php
Normal file
12
src/Framework/Cache/CacheDriver.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Framework\Cache;
|
||||
|
||||
interface CacheDriver
|
||||
{
|
||||
public function get(string $key): CacheItem;
|
||||
public function set(string $key, string $value, ?int $ttl = null): bool;
|
||||
public function has(string $key): bool;
|
||||
public function forget(string $key): bool;
|
||||
public function clear(): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user