Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/flow-flo.../libs/cakephp/cache
File: CacheEngineInterface.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
[2] Fix | Delete
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
[3] Fix | Delete
*
[4] Fix | Delete
* Licensed under The MIT License
[5] Fix | Delete
* For full copyright and license information, please see the LICENSE.txt
[6] Fix | Delete
* Redistributions of files must retain the above copyright notice.
[7] Fix | Delete
*
[8] Fix | Delete
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
[9] Fix | Delete
* @link https://cakephp.org CakePHP(tm) Project
[10] Fix | Delete
* @since 3.7.0
[11] Fix | Delete
* @license https://opensource.org/licenses/mit-license.php MIT License
[12] Fix | Delete
*/
[13] Fix | Delete
namespace Cake\Cache;
[14] Fix | Delete
[15] Fix | Delete
/**
[16] Fix | Delete
* Interface for cache engines that defines methods
[17] Fix | Delete
* outside of the PSR16 interface that are used by `Cache`.
[18] Fix | Delete
*
[19] Fix | Delete
* Internally Cache uses this interface when calling engine
[20] Fix | Delete
* methods.
[21] Fix | Delete
*
[22] Fix | Delete
* @since 3.7.0
[23] Fix | Delete
*/
[24] Fix | Delete
interface CacheEngineInterface
[25] Fix | Delete
{
[26] Fix | Delete
/**
[27] Fix | Delete
* Write data for key into a cache engine if it doesn't exist already.
[28] Fix | Delete
*
[29] Fix | Delete
* @param string $key Identifier for the data.
[30] Fix | Delete
* @param mixed $value Data to be cached - anything except a resource.
[31] Fix | Delete
* @return bool True if the data was successfully cached, false on failure.
[32] Fix | Delete
* Or if the key existed already.
[33] Fix | Delete
*/
[34] Fix | Delete
public function add($key, $value);
[35] Fix | Delete
[36] Fix | Delete
/**
[37] Fix | Delete
* Increment a number under the key and return incremented value
[38] Fix | Delete
*
[39] Fix | Delete
* @param string $key Identifier for the data
[40] Fix | Delete
* @param int $offset How much to add
[41] Fix | Delete
* @return int|false New incremented value, false otherwise
[42] Fix | Delete
*/
[43] Fix | Delete
public function increment($key, $offset = 1);
[44] Fix | Delete
[45] Fix | Delete
/**
[46] Fix | Delete
* Decrement a number under the key and return decremented value
[47] Fix | Delete
*
[48] Fix | Delete
* @param string $key Identifier for the data
[49] Fix | Delete
* @param int $offset How much to subtract
[50] Fix | Delete
* @return int|false New incremented value, false otherwise
[51] Fix | Delete
*/
[52] Fix | Delete
public function decrement($key, $offset = 1);
[53] Fix | Delete
[54] Fix | Delete
/**
[55] Fix | Delete
* Clear all values belonging to the named group.
[56] Fix | Delete
*
[57] Fix | Delete
* Each implementation needs to decide whether actually
[58] Fix | Delete
* delete the keys or just augment a group generation value
[59] Fix | Delete
* to achieve the same result.
[60] Fix | Delete
*
[61] Fix | Delete
* @param string $group name of the group to be cleared
[62] Fix | Delete
* @return bool
[63] Fix | Delete
*/
[64] Fix | Delete
public function clearGroup($group);
[65] Fix | Delete
}
[66] Fix | Delete
[67] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function