Symfony\Bundle\FrameworkBundle\Templating\TimedPhpEngine::__construct
Constructor.
Signature
public function __construct(TemplateNameParserInterface
$parser,
[ContainerInterface
$container = null,
[LoaderInterface
$loader = null,
[Stopwatch
$stopwatch = null,
[GlobalVariables
$globals = null]]]] )
Parameters
$parser
— Symfony\Component\Templating\TemplateNameParserInterface- A TemplateNameParserInterface instance
$container
— Symfony\Component\DependencyInjection\ContainerInterface- A ContainerInterface instance
$loader
— Symfony\Component\Templating\Loader\LoaderInterface- A LoaderInterface instance
$stopwatch
— Symfony\Component\Stopwatch\Stopwatch- A Stopwatch instance
$globals
— Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables- A GlobalVariables instance