Memcache, refactoring, View helpers, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@124 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
24
cache/iCacheable.php
vendored
Normal file
24
cache/iCacheable.php
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @copyright NetMonsters <team@netmonsters.ru>
|
||||
* @link http://netmonsters.ru
|
||||
* @package Majestic
|
||||
* @subpackage cache
|
||||
* @since 2010-03-12
|
||||
* @version SVN: $Id$
|
||||
* @filesource $URL$
|
||||
*/
|
||||
|
||||
interface iCacheable
|
||||
{
|
||||
/**
|
||||
* @return Cache
|
||||
*/
|
||||
public function getCache();
|
||||
|
||||
/**
|
||||
* @param string $key
|
||||
* @return Expiration time in seconds
|
||||
*/
|
||||
public function getKeyExpire($key);
|
||||
}
|
Reference in New Issue
Block a user