Skip to content
Docs

Class and function reference

Timer

List of public methods of the Zittme\Framework\Timer class. This document was automatically generated from the Zittme core source.

Source: common/framework/Timer.php

Public methods

  • static function start(string $name = '')
  • Start a timer.
  • static function stop(string $name = '')
  • Stop a timer and return the elapsed time.
  • static function stopFormat(string $name = '')
  • Stop a timer and return the elapsed time in a human-readable format.
  • static function sinceStartup()
  • This method returns how much time has elapsed since Zittme startup.
  • static function sinceStartupFormat()
  • This method returns how much time has elapsed since startup in a human-readable format.