public function Twig_Profiler_Profile::isRoot in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Profiler/Profile.php \Twig_Profiler_Profile::isRoot()
1 call to Twig_Profiler_Profile::isRoot()
- Twig_Profiler_Profile::getDuration in vendor/
twig/ twig/ lib/ Twig/ Profiler/ Profile.php - Returns the duration in microseconds.
File
- vendor/
twig/ twig/ lib/ Twig/ Profiler/ Profile.php, line 52
Class
- Twig_Profiler_Profile
- @author Fabien Potencier <fabien@symfony.com>
Code
public function isRoot() {
return self::ROOT === $this->type;
}