Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController::__construct
Constructor.
Signature
public function __construct(UrlGeneratorInterface
$generator,
[Profiler
$profiler = null,
[Twig_Environment
$twig = 'normal',
[array
$templates = 'normal',
[string
$toolbarPosition = 'normal']]]] )
Parameters
$generator
— Symfony\Component\Routing\Generator\UrlGeneratorInterface- The Url Generator
$profiler
— Symfony\Component\HttpKernel\Profiler\Profiler- The profiler
$twig
— \Twig_Environment- The twig environment
$templates
— array- The templates
$toolbarPosition
— string- The toolbar position (top, bottom, normal, or null -- use the configuration)