| Server IP : 23.111.136.34 / Your IP : 216.73.216.136 Web Server : Apache System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : meusitei ( 1072) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, proc_open MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/meusitei/public_html/painel/mkt/MailWizzApi/Cache/ |
Upload File : |
<?php
/**
* This file contains the base class for implementing caching in the MailWizzApi PHP-SDK.
*
* Each class extending this one needs to implement the abstract methods.
*
* @author Serban George Cristian <cristian.serban@mailwizz.com>
* @link http://www.mailwizz.com/
* @copyright 2013-2017 http://www.mailwizz.com/
*/
/**
* MailWizzApi_Cache_Abstract is the base class that all the caching classes should extend.
*
* @author Serban George Cristian <cristian.serban@mailwizz.com>
* @package MailWizzApi
* @subpackage Cache
* @since 1.0
*/
abstract class MailWizzApi_Cache_Abstract extends MailWizzApi_Base
{
/**
* @var array keeps a history of loaded keys for easier and faster reference
*/
protected $_loaded = array();
/**
* Set data into the cache
*
* @param string $key
* @param mixed $value
* @return bool
*/
abstract public function set($key, $value);
/**
* Get data from the cache
*
* @param string $key
* @return mixed
*/
abstract public function get($key);
/**
* Delete data from cache
*
* @param string $key
* @return bool
*/
abstract public function delete($key);
/**
* Delete all data from cache
*
* @return bool
*/
abstract public function flush();
}