Chuyển đến nội dung
Tài liệu

Tra cứu lớp và hàm

Timer

Danh sách các phương thức công khai của lớp Zittme\Framework\Timer. Tài liệu này được tạo tự động từ mã nguồn lõi Zittme.

Nguồn: common/framework/Timer.php

Phương thức công khai

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