function WebprofilerEventSubscriber::__construct

Parameters

\Drupal\Core\Session\AccountInterface $currentUser:

\Drupal\Core\Routing\UrlGeneratorInterface $urlGenerator:

\Drupal\Core\Render\RendererInterface $renderer:

File

webprofiler/src/EventSubscriber/WebprofilerEventSubscriber.php, line 38

Class

WebprofilerEventSubscriber
Class WebprofilerEventSubscriber

Namespace

Drupal\webprofiler\EventSubscriber

Code

public function __construct(AccountInterface $currentUser, UrlGeneratorInterface $urlGenerator, RendererInterface $renderer) {
    $this->currentUser = $currentUser;
    $this->urlGenerator = $urlGenerator;
    $this->renderer = $renderer;
}