Ir al contenido
Docs

Referencia de clases y funciones

Timer

Lista de métodos públicos de la clase Zittme\Framework\Timer. Este documento se generó automáticamente a partir del código fuente del núcleo de Zittme.

Fuente: common/framework/Timer.php

Métodos públicos

  • 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.