Untitled
unknown
php
2 years ago
320 B
15
Indexable
<?php class NullCache implements CacheInterface { public function has(string $key): bool { return false; } public function get(string $key): mixed { // drzim se psr-6 return null; } public function set(string $key, mixed $value): void { // void } }
Editor is loading...