for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Ray\Di;
use Doctrine\Common\Cache\CacheProvider;
/**
* @psalm-suppress DeprecatedInterface
* @codeCoverageIgnore
*/
final class NullCache extends CacheProvider
{
* {@inheritDoc}
protected function doFetch($id)
return false;
}
protected function doContains($id)
protected function doSave($id, $data, $lifeTime = 0)
return true;
protected function doDelete($id)
protected function doFlush()
protected function doGetStats()
return [];