Files
2025-08-14 22:41:49 +02:00

36 lines
732 B
PHP

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Templating\Loader;
use Psr\Log\LoggerInterface;
/**
* Loader is the base class for all template loader classes.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
abstract class Loader implements LoaderInterface
{
/**
* @var LoggerInterface|null
*/
protected $logger;
/**
* Sets the debug logger to use for this loader.
*/
public function setLogger(LoggerInterface $logger)
{
$this->logger = $logger;
}
}