: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* This file is part of Twig.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
namespace WPML\Core\Twig;
* Holds information about a non-compiled Twig template.
* @author Fabien Potencier <fabien@symfony.com>
* @param string $code The template source code
* @param string $name The template logical name
* @param string $path The filesystem path of the template if any
public function __construct($code, $name, $path = '')
public function getCode()
public function getName()
public function getPath()
\class_alias('WPML\\Core\\Twig\\Source', 'WPML\\Core\\Twig_Source');