class Profile
Profile.
Methods
__construct(string $token) Constructor. | ||
setToken(string $token) Sets the token. | ||
string | getToken() Gets the token. | |
setParent(Profile $parent) Sets the parent token. | ||
Profile | getParent() Returns the parent profile. | |
null|string | getParentToken() Returns the parent token. | |
string | getIp() Returns the IP. | |
setIp(string $ip) Sets the IP. | ||
string | getMethod() Returns the request method. | |
setMethod($method) | ||
string | getUrl() Returns the URL. | |
setUrl($url) | ||
string | getTime() Returns the time. | |
setTime($time) | ||
setStatusCode(int $statusCode) | ||
int | getStatusCode() | |
Profile[] | getChildren() Finds children profilers. | |
setChildren(array $children) Sets children profiler. | ||
addChild(Profile $child) Adds the child token. | ||
DataCollectorInterface | getCollector(string $name) Gets a Collector by name. | |
DataCollectorInterface[] | getCollectors() Gets the Collectors associated with this profile. | |
setCollectors(array $collectors) Sets the Collectors associated with this profile. | ||
addCollector(DataCollectorInterface $collector) Adds a Collector. | ||
bool | hasCollector(string $name) Returns true if a Collector for the given name exists. | |
__sleep() |
Details
__construct(string $token)
Constructor.
setToken(string $token)
Sets the token.
string getToken()
Gets the token.
setParent(Profile $parent)
Sets the parent token.
Profile getParent()
Returns the parent profile.
null|string getParentToken()
Returns the parent token.
string getIp()
Returns the IP.
setIp(string $ip)
Sets the IP.
string getMethod()
Returns the request method.
setMethod($method)
string getUrl()
Returns the URL.
setUrl($url)
string getTime()
Returns the time.
setTime($time)
setStatusCode(int $statusCode)
int getStatusCode()
Profile[] getChildren()
Finds children profilers.
setChildren(array $children)
Sets children profiler.
addChild(Profile $child)
Adds the child token.
DataCollectorInterface getCollector(string $name)
Gets a Collector by name.
DataCollectorInterface[] getCollectors()
Gets the Collectors associated with this profile.
setCollectors(array $collectors)
Sets the Collectors associated with this profile.
addCollector(DataCollectorInterface $collector)
Adds a Collector.
bool hasCollector(string $name)
Returns true if a Collector for the given name exists.
Please login to continue.