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/wp-conte.../plugins/sitepres.../lib/twig/src/Cache
File: CacheInterface.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/*
[2] Fix | Delete
* This file is part of Twig.
[3] Fix | Delete
*
[4] Fix | Delete
* (c) Fabien Potencier
[5] Fix | Delete
*
[6] Fix | Delete
* For the full copyright and license information, please view the LICENSE
[7] Fix | Delete
* file that was distributed with this source code.
[8] Fix | Delete
*/
[9] Fix | Delete
namespace WPML\Core\Twig\Cache;
[10] Fix | Delete
[11] Fix | Delete
/**
[12] Fix | Delete
* Interface implemented by cache classes.
[13] Fix | Delete
*
[14] Fix | Delete
* It is highly recommended to always store templates on the filesystem to
[15] Fix | Delete
* benefit from the PHP opcode cache. This interface is mostly useful if you
[16] Fix | Delete
* need to implement a custom strategy for storing templates on the filesystem.
[17] Fix | Delete
*
[18] Fix | Delete
* @author Andrew Tch <andrew@noop.lv>
[19] Fix | Delete
*/
[20] Fix | Delete
interface CacheInterface
[21] Fix | Delete
{
[22] Fix | Delete
/**
[23] Fix | Delete
* Generates a cache key for the given template class name.
[24] Fix | Delete
*
[25] Fix | Delete
* @param string $name The template name
[26] Fix | Delete
* @param string $className The template class name
[27] Fix | Delete
*
[28] Fix | Delete
* @return string
[29] Fix | Delete
*/
[30] Fix | Delete
public function generateKey($name, $className);
[31] Fix | Delete
/**
[32] Fix | Delete
* Writes the compiled template to cache.
[33] Fix | Delete
*
[34] Fix | Delete
* @param string $key The cache key
[35] Fix | Delete
* @param string $content The template representation as a PHP class
[36] Fix | Delete
*/
[37] Fix | Delete
public function write($key, $content);
[38] Fix | Delete
/**
[39] Fix | Delete
* Loads a template from the cache.
[40] Fix | Delete
*
[41] Fix | Delete
* @param string $key The cache key
[42] Fix | Delete
*/
[43] Fix | Delete
public function load($key);
[44] Fix | Delete
/**
[45] Fix | Delete
* Returns the modification timestamp of a key.
[46] Fix | Delete
*
[47] Fix | Delete
* @param string $key The cache key
[48] Fix | Delete
*
[49] Fix | Delete
* @return int
[50] Fix | Delete
*/
[51] Fix | Delete
public function getTimestamp($key);
[52] Fix | Delete
}
[53] Fix | Delete
\class_alias('WPML\\Core\\Twig\\Cache\\CacheInterface', 'WPML\\Core\\Twig_CacheInterface');
[54] Fix | Delete
[55] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function