Programming Language PHP

Namespace DebugKit

Class DebugTimer

Method/Function stop

Total Examples 1

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

Was this example useful?
0
                                                    /**
     * Leave $profile.
     *
     * @param \Twig\Profiler\Profile $profile profile
     */
    public function leave(Profile $profile): void
    {
        parent::leave($profile);

        $name = 'Twig Template: ' . substr($profile->getName(), strlen(ROOT) + 1);
        DebugTimer::stop($name);
    }
                                            
DebugTimer's Other Methods