snappymail/rainloop/v/0.0.0/app/libraries/MailSo/Cache/DriverInterface.php
2020-03-10 18:45:00 +01:00

27 lines
518 B
PHP

<?php
/*
* This file is part of MailSo.
*
* (c) 2014 Usenko Timur
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace MailSo\Cache;
/**
* @category MailSo
* @package Cache
*/
interface DriverInterface
{
public function Set(string $sKey, string $sValue) : bool;
public function Get(string $sKey) : string;
public function Delete(string $sKey) : void;
public function GC(int $iTimeToClearInHours = 24) : bool;
}