uawdijnntqw1x1x1
IP : 216.73.216.5
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
vendor
/
twig
/
.
/
twig
/
src
/
Profiler
/
Dumper
/
TextDumper.php
/
/
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Twig\Profiler\Dumper; use Twig\Profiler\Profile; /** * @author Fabien Potencier <fabien@symfony.com> */ final class TextDumper extends BaseDumper { protected function formatTemplate(Profile $profile, $prefix): string { return \sprintf('%s└ %s', $prefix, $profile->getTemplate()); } protected function formatNonTemplate(Profile $profile, $prefix): string { return \sprintf('%s└ %s::%s(%s)', $prefix, $profile->getTemplate(), $profile->getType(), $profile->getName()); } protected function formatTime(Profile $profile, $percent): string { return \sprintf('%.2fms/%.0f%%', $profile->getDuration() * 1000, $percent); } }
/srv/users/craft4/apps/craft4-newsite-space/vendor/twig/./twig/src/Profiler/Dumper/TextDumper.php