You are here

protected function Twig_Profiler_Dumper_Text::formatNonTemplate in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/Profiler/Dumper/Text.php \Twig_Profiler_Dumper_Text::formatNonTemplate()
1 call to Twig_Profiler_Dumper_Text::formatNonTemplate()
Twig_Profiler_Dumper_Text::dumpProfile in vendor/twig/twig/lib/Twig/Profiler/Dumper/Text.php
1 method overrides Twig_Profiler_Dumper_Text::formatNonTemplate()
Twig_Profiler_Dumper_Html::formatNonTemplate in vendor/twig/twig/lib/Twig/Profiler/Dumper/Html.php

File

vendor/twig/twig/lib/Twig/Profiler/Dumper/Text.php, line 29

Class

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

Code

protected function formatNonTemplate(Twig_Profiler_Profile $profile, $prefix) {
  return sprintf('%s└ %s::%s(%s)', $prefix, $profile
    ->getTemplate(), $profile
    ->getType(), $profile
    ->getName());
}