for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Netgen\Bundle\OpenWeatherMapBundle\Cache;
use Netgen\Bundle\OpenWeatherMapBundle\Exception\ItemNotFoundException;
class NoCache implements HandlerInterface
{
/**
* {@inheritdoc}
*/
public function has($cacheKey)
return false;
}
public function get($cacheKey)
throw new ItemNotFoundException("Item with key:{$cacheKey} not found.");
public function set($cacheKey, $data)