* * 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; trigger_deprecation('symfony/templating', '6.4', '"%s" is deprecated since version 6.4 and will be removed in 7.0. Use Twig instead.', Loader::class); /** * Loader is the base class for all template loader classes. * * @author Fabien Potencier * * @deprecated since Symfony 6.4, use Twig instead */ abstract class Loader implements LoaderInterface { /** * @var LoggerInterface|null */ protected $logger; /** * Sets the debug logger to use for this loader. * * @return void */ public function setLogger(LoggerInterface $logger) { $this->logger = $logger; } }