public function ProfilerExtension::__construct in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/Twig/Extension/ProfilerExtension.php \Drupal\webprofiler\Twig\Extension\ProfilerExtension::__construct()
- 8 webprofiler/src/Twig/Extension/ProfilerExtension.php \Drupal\webprofiler\Twig\Extension\ProfilerExtension::__construct()
- 4.x webprofiler/src/Twig/Extension/ProfilerExtension.php \Drupal\webprofiler\Twig\Extension\ProfilerExtension::__construct()
File
- webprofiler/
src/ Twig/ Extension/ ProfilerExtension.php, line 25
Class
- ProfilerExtension
- Class ProfilerExtension
Namespace
Drupal\webprofiler\Twig\ExtensionCode
public function __construct(\Twig_Profiler_Profile $profile, Stopwatch $stopwatch = NULL, IdeLinkGeneratorInterface $ideLink, ClassShortenerInterface $classShortener) {
parent::__construct($profile);
$this->ideLink = $ideLink;
$this->classShortener = $classShortener;
$this->stopwatch = $stopwatch;
$this->events = new \SplObjectStorage();
}