Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Profile.php

function Profile::__construct

Same name in this branch
  1. 11.1.x vendor/symfony/http-kernel/Profiler/Profile.php \Symfony\Component\HttpKernel\Profiler\Profile::__construct()

File

vendor/twig/twig/src/Profiler/Profile.php, line 27

Class

Profile
@author Fabien Potencier <fabien@symfony.com>

Namespace

Twig\Profiler

Code

public function __construct(string $template = 'main', string $type = self::ROOT, string $name = 'main') {
    $this->name = str_starts_with($name, '__internal_') ? 'INTERNAL' : $name;
    $this->enter();
}
RSS feed
Powered by Drupal