跳到主要內容
文件

類別・函式規格

Timer

Zittme\Framework\Timer 類別的公開方法清單。本文件由 Zittme 核心原始碼自動產生。

原始碼:common/framework/Timer.php

公開方法

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