snappymail/rainloop/v/1.2.6.410/app/libraries/MailSo/Cache/DriverInterface.php
RainLoop Team d839db3a0c v1.2.6.410
2013-09-26 23:21:30 +04:00

39 lines
562 B
PHP

<?php
namespace MailSo\Cache;
/**
* @category MailSo
* @package Cache
*/
interface DriverInterface
{
/**
* @param string $sKey
* @param string $sValue
*
* @return bool
*/
public function Set($sKey, $sValue);
/**
* @param string $sKey
*
* @return string
*/
public function Get($sKey);
/**
* @param string $sKey
*
* @return void
*/
public function Delete($sKey);
/**
* @param int $iTimeToClearInHours = 24
*
* @return bool
*/
public function GC($iTimeToClearInHours = 24);
}