Programming Language PHP

Namespace DebugKit

Class DebugTimer

Method/Function start

Total Examples 1

1 code examples of PHP DebugKit\DebugTimer::start extracted from open source projects

Was this example useful?
0
                                                    /**
     * Enter $profile.
     *
     * @param \Twig\Profiler\Profile $profile profile
     */
    public function enter(Profile $profile): void
    {
        $name = 'Twig Template: ' . substr($profile->getName(), strlen(ROOT) + 1);
        DebugTimer::start($name, __d('twig_view', $name));

        parent::enter($profile);
    }
                                            
DebugTimer's Other Methods