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/Loader
File: LoaderInterface.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\Loader;
[10] Fix | Delete
[11] Fix | Delete
use WPML\Core\Twig\Error\LoaderError;
[12] Fix | Delete
/**
[13] Fix | Delete
* Interface all loaders must implement.
[14] Fix | Delete
*
[15] Fix | Delete
* @author Fabien Potencier <fabien@symfony.com>
[16] Fix | Delete
*/
[17] Fix | Delete
interface LoaderInterface
[18] Fix | Delete
{
[19] Fix | Delete
/**
[20] Fix | Delete
* Gets the source code of a template, given its name.
[21] Fix | Delete
*
[22] Fix | Delete
* @param string $name The name of the template to load
[23] Fix | Delete
*
[24] Fix | Delete
* @return string The template source code
[25] Fix | Delete
*
[26] Fix | Delete
* @throws LoaderError When $name is not found
[27] Fix | Delete
*
[28] Fix | Delete
* @deprecated since 1.27 (to be removed in 2.0), implement Twig\Loader\SourceContextLoaderInterface
[29] Fix | Delete
*/
[30] Fix | Delete
public function getSource($name);
[31] Fix | Delete
/**
[32] Fix | Delete
* Gets the cache key to use for the cache for a given template name.
[33] Fix | Delete
*
[34] Fix | Delete
* @param string $name The name of the template to load
[35] Fix | Delete
*
[36] Fix | Delete
* @return string The cache key
[37] Fix | Delete
*
[38] Fix | Delete
* @throws LoaderError When $name is not found
[39] Fix | Delete
*/
[40] Fix | Delete
public function getCacheKey($name);
[41] Fix | Delete
/**
[42] Fix | Delete
* Returns true if the template is still fresh.
[43] Fix | Delete
*
[44] Fix | Delete
* @param string $name The template name
[45] Fix | Delete
* @param int $time Timestamp of the last modification time of the
[46] Fix | Delete
* cached template
[47] Fix | Delete
*
[48] Fix | Delete
* @return bool true if the template is fresh, false otherwise
[49] Fix | Delete
*
[50] Fix | Delete
* @throws LoaderError When $name is not found
[51] Fix | Delete
*/
[52] Fix | Delete
public function isFresh($name, $time);
[53] Fix | Delete
}
[54] Fix | Delete
\class_alias('WPML\\Core\\Twig\\Loader\\LoaderInterface', 'WPML\\Core\\Twig_LoaderInterface');
[55] Fix | Delete
[56] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function