Section
class Section
Stopwatch section.
Methods
__construct(float $origin = null, bool $morePrecision = false)
No description
string
getId()
No description
$this
setId(string $id)
Sets the session identifier.
startEvent(string $name, string $category)
Starts an event.
bool
isEventStarted(string $name)
Checks if the event was started.
stopEvent(string $name)
Stops an event.
lap(string $name)
Stops then restarts an event.
getEvent(string $name)
Returns a specific event by name.
getEvents()
Returns the events from this section.