for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Chubbyphp\Model\Cache;
use Chubbyphp\Model\ModelInterface;
final class NullModelCache implements ModelCacheInterface
{
/**
* @param ModelInterface $model
*
* @return ModelCacheInterface
*/
public function set(ModelInterface $model): ModelCacheInterface
return $this;
}
* @param string $id
* @return bool
public function has(string $id): bool
return false;
* @return ModelInterface
* @throws ModelNotFoundException
public function get(string $id)
throw ModelNotFoundException::fromId($id);
public function remove(string $id): ModelCacheInterface