public function Twig_Profiler_Profile::__construct in Translation template extractor 7.3
File
- vendor/
Twig/ Profiler/ Profile.php, line 29
Class
- Twig_Profiler_Profile
- @author Fabien Potencier <fabien@symfony.com>
Code
public function __construct($template = 'main', $type = self::ROOT, $name = 'main') {
$this->template = $template;
$this->type = $type;
$this->name = 0 === strpos($name, '__internal_') ? 'INTERNAL' : $name;
$this
->enter();
}