| 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 Dummy cache class used in the MailWizzApi PHP-SDK.
*
* @author Serban George Cristian <cristian.serban@mailwizz.com>
* @link http://www.mailwizz.com/
* @copyright 2013-2017 http://www.mailwizz.com/
*/
/**
* MailWizzApi_Cache_Dummy is used for testing purposes, when you use the sdk with cache but don't want to
* really cache anything.
*
* @author Serban George Cristian <cristian.serban@mailwizz.com>
* @package MailWizzApi
* @subpackage Cache
* @since 1.0
*/
class MailWizzApi_Cache_Dummy extends MailWizzApi_Cache_Abstract
{
/**
* Cache data by given key.
*
* This method implements {@link MailWizzApi_Cache_Abstract::set()}.
*
* @param string $key
* @param mixed $value
* @return bool
*/
public function set($key, $value)
{
return true;
}
/**
* Get cached data by given key.
*
* This method implements {@link MailWizzApi_Cache_Abstract::get()}.
*
* @param string $key
* @return mixed
*/
public function get($key)
{
return null;
}
/**
* Delete cached data by given key.
*
* This method implements {@link MailWizzApi_Cache_Abstract::delete()}.
*
* @param string $key
* @return bool
*/
public function delete($key)
{
return true;
}
/**
* Delete all cached data.
*
* This method implements {@link MailWizzApi_Cache_Abstract::flush()}.
*
* @return bool
*/
public function flush()
{
return true;
}
}