-
-
Notifications
You must be signed in to change notification settings - Fork 453
/
Copy pathExcimerLogEntry.stub
63 lines (57 loc) · 1.81 KB
/
ExcimerLogEntry.stub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
namespace {
if (extension_loaded('excimer')) {
return;
}
class ExcimerLogEntry
{
/**
* ExcimerLogEntry is not constructible by user code.
*/
private final function __construct()
{
}
/**
* Get the time at which the event occurred. This is the floating point
* number of seconds since the ExcimerProfiler object was constructed.
*
* @return float
*/
public function getTimestamp()
{
}
/**
* Get the event count represented by this log entry. This will typically
* be 1. If there were overruns, it will be 1 plus the number of overruns.
*
* @return int
*/
public function getEventCount()
{
}
/**
* Get an array of associative arrays describing the stack trace at the time
* of the event. The first element in the array is the function which was
* executing, the second function is the caller (parent) of that function,
* and so on. Each element is an associative array with the following
* optional fields:
*
* - file: The filename in which the function appears
* - line: The exact line number at which the event occurred.
* - class: The class name in which the method is defined
* - function: The name of the function or method
* - closure_line: The line number at which the closure was defined
*
* @return array<int, array{
* file: string,
* line: int,
* class?: string,
* function?: string,
* closure_line?: int,
* }>
*/
public function getTrace(): array
{
}
}
}