Profile
class Profile
Profile.
Methods
Constructor.
Sets the token.
Gets the token.
Returns the parent token.
Returns the IP.
Sets the IP.
Returns the request method.
No description
Returns the URL.
No description
Returns the time.
No description
No description
No description
Finds children profilers.
Sets children profiler.
Gets a Collector by name.
Gets the Collectors associated with this profile.
Sets the Collectors associated with this profile.
Returns true if a Collector for the given name exists.
No description
Details
at line line 51
__construct(string $token)
Constructor.
at line line 61
setToken(string $token)
Sets the token.
at line line 71
string
getToken()
Gets the token.
at line line 81
setParent(Profile $parent)
Sets the parent token.
at line line 91
Profile
getParent()
Returns the parent profile.
at line line 101
null|string
getParentToken()
Returns the parent token.
at line line 111
string
getIp()
Returns the IP.
at line line 121
setIp(string $ip)
Sets the IP.
at line line 131
string
getMethod()
Returns the request method.
at line line 136
setMethod($method)
at line line 146
string
getUrl()
Returns the URL.
at line line 151
setUrl($url)
at line line 161
string
getTime()
Returns the time.
at line line 170
setTime($time)
at line line 178
setStatusCode(int $statusCode)
at line line 186
int
getStatusCode()
at line line 196
Profile[]
getChildren()
Finds children profilers.
at line line 206
setChildren(array $children)
Sets children profiler.
at line line 219
addChild(Profile $child)
Adds the child token.
at line line 234
DataCollectorInterface
getCollector(string $name)
Gets a Collector by name.
at line line 248
DataCollectorInterface[]
getCollectors()
Gets the Collectors associated with this profile.
at line line 258
setCollectors(array $collectors)
Sets the Collectors associated with this profile.
at line line 271
addCollector(DataCollectorInterface $collector)
Adds a Collector.
at line line 283
bool
hasCollector(string $name)
Returns true if a Collector for the given name exists.