CacheDriver: moved to subdirectory

This commit is contained in:
Zankaria 2025-07-26 23:34:58 +02:00
parent 8ee471c868
commit 311a5477f8
8 changed files with 8 additions and 8 deletions

View file

@ -1,26 +0,0 @@
<?php
namespace Vichan\Data\Driver;
defined('TINYBOARD') or exit;
/**
* No-op cache. Useful for testing.
*/
class NoneCacheDriver implements CacheDriver {
public function get(string $key): mixed {
return null;
}
public function set(string $key, mixed $value, mixed $expires = false): void {
// No-op.
}
public function delete(string $key): void {
// No-op.
}
public function flush(): void {
// No-op.
}
}