for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Ivory Http Adapter package.
*
* (c) Eric GELOEN <[email protected]>
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Ivory\HttpAdapter\Event\Cache\Adapter;
/**
* @author GeLo <[email protected]>
interface CacheAdapterInterface
{
* @param string $id
* @return bool
public function has($id);
* @return mixed
public function get($id);
* @param mixed $data
* @param int $lifeTime
public function set($id, $data, $lifeTime = 0);
public function remove($id);
}