/** * {@inheritdoc} */ 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(); }
public function __construct(\Twig_Profiler_Profile $profile, Stopwatch $stopwatch = null) { parent::__construct($profile); $this->stopwatch = $stopwatch; $this->events = new \SplObjectStorage(); }