public function Twig_Extension_Profiler::enter in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/Twig/Extension/Profiler.php \Twig_Extension_Profiler::enter()
File
- vendor/
twig/ twig/ lib/ Twig/ Extension/ Profiler.php, line 21
Class
Code
public function enter(Twig_Profiler_Profile $profile) {
$this->actives[0]
->addProfile($profile);
array_unshift($this->actives, $profile);
}