for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Chubbyphp\Model\StorageCache;
final class NullStorageCache implements StorageCacheInterface
{
/**
* @param string $id
* @param array $entry
*
* @return StorageCacheInterface
*/
public function set(string $id, array $entry): StorageCacheInterface
return $this;
}
* @return bool
public function has(string $id): bool
return false;
* @return array
* @throws EntryNotFoundException
public function get(string $id)
throw EntryNotFoundException::fromId($id);
public function remove(string $id): StorageCacheInterface
public function clear(): StorageCacheInterface