PHP Classes

File: tests/Contracts/TaskableTest.php

Recommend this page to a friend!
  Packages of tomloprod   Time Warden   tests/Contracts/TaskableTest.php  
File: tests/Contracts/TaskableTest.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Time Warden
Measure PHP execution time and invoke callbacks
Author: By
Last change: feat!: replace microtime with hrtime for better precision

BREAKING CHANGES:
- getStartTimestamp() and getEndTimestamp() now return int (nanoseconds) instead of float (seconds)
- setTestStartTimestamp() and setTestEndTimestamp() now accept int (nanoseconds) instead of float (seconds)
- Internal timestamp storage changed from float to int for nanosecond precision
feat(TimeWardenSummary): Summary in array or json format

To be able to obtain a summary of the actions recorded by TimeWarden, both in array and JSON format.
chore: coding style changes
ref: replace task substitution system

Delete the `replaceLastTask` method and simply change the name of the last empty task when creating a new one.
Date: 5 months ago
Size: 2,517 bytes

You need to be a registered user and login to get this file.

1,618,096 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: