mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 10:34:34 +00:00
28 lines
617 B
PHP
28 lines
617 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Phraseanet
|
|
*
|
|
* (c) 2005-2010 Alchemy
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
/**
|
|
*
|
|
* @package cache
|
|
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
|
* @link www.phraseanet.com
|
|
*/
|
|
interface cache_cacheableInterface
|
|
{
|
|
public function get_cache_key($option = null);
|
|
|
|
public function get_data_from_cache($option = null);
|
|
|
|
public function set_data_to_cache($value, $option = null, $duration = 0);
|
|
|
|
public function delete_data_from_cache($option = null);
|
|
}
|