public __construct ( Pop\Cache\Adapter\AdapterInterface $adapter, integer $lifetime ) : |
||
$adapter | Pop\Cache\Adapter\AdapterInterface | |
$lifetime | integer | |
return |
public function __construct(Adapter\AdapterInterface $adapter, $lifetime = 0)
{
$this->lifetime = $lifetime;
$this->adapter = $adapter;
}