Symfony API
Class

Symfony\Component\Templating\Loader\Loader

abstract class Loader implements LoaderInterface

Loader is the base class for all template loader classes.

Methods

setLogger(LoggerInterface $logger)

Sets the debug logger to use for this loader.

Details

at line 33
public setLogger(LoggerInterface $logger)

Sets the debug logger to use for this loader.

Parameters

LoggerInterface $logger A logger instance