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.

setDebugger(DebuggerInterface $debugger)

Sets the debugger to use for this loader.

Details

at line 39
public setLogger(LoggerInterface $logger)

Sets the debug logger to use for this loader.

Parameters

LoggerInterface $logger A logger instance

at line 51
public setDebugger(DebuggerInterface $debugger)

Sets the debugger to use for this loader.

Parameters

DebuggerInterface $debugger A debugger instance