File "phpfastcache_driver.php"
Full path: /home/kosmetik/public_html/wp-content/plugins/woo-license-keys/vendor/10quality/wpmvc-phpfastcache/src/psr4/phpfastcache_driver.php
File
size: 1.04 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
namespace WPMVC\PHPFastCache;
/*
* [email protected]
* Website: http://www.phpfastcache.com
* Example at our website, any bugs, problems, please visit http://faster.phpfastcache.com
*/
interface phpfastcache_driver {
/*
* Check if this Cache driver is available for server or not
*/
function __construct($config = array());
function checkdriver();
/*
* SET
* set a obj to cache
*/
function driver_set($keyword, $value = "", $time = 300, $option = array() );
/*
* GET
* return null or value of cache
*/
function driver_get($keyword, $option = array());
/*
* Stats
* Show stats of caching
* Return array ("info","size","data")
*/
function driver_stats($option = array());
/*
* Delete
* Delete a cache
*/
function driver_delete($keyword, $option = array());
/*
* clean
* Clean up whole cache
*/
function driver_clean($option = array());
}