class Profile
Profile.
__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() |
Constructor.
Sets the token.
Gets the token.
Sets the parent token.
Returns the parent profile.
Returns the parent token.
Returns the IP.
Sets the IP.
Returns the request method.
Returns the URL.
Returns the time.
Finds children profilers.
Sets children profiler.
Adds the child token.
Gets a Collector by name.
Gets the Collectors associated with this profile.
Sets the Collectors associated with this profile.
Adds a Collector.
Returns true if a Collector for the given name exists.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/HttpKernel/Profiler/Profile.html