Symfony\Component\HttpKernel\Profiler\Profile
Profile.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class Profile
{
- // members
- private $token;
- private array $collectors;
- private $ip;
- private $method;
- private $url;
- private $time;
- private Profile $parent;
- private array $children;
- // methods
- public void __construct()
- public void setToken()
- public string getToken()
- public void setParent()
- public Profile getParent()
- public null|string getParentToken()
- public string getIp()
- public void setIp()
- public string getMethod()
- public void setMethod()
- public string getUrl()
- public void setUrl()
- public string getTime()
- public void setTime()
- public array getChildren()
- public void setChildren()
- public void addChild()
- public DataCollectorInterface getCollector()
- public array getCollectors()
- public void setCollectors()
- public void addCollector()
- public Boolean hasCollector()
- public void __sleep()
Members
private
- $children — array
- $collectors — array
- $ip
- $method
- $parent — Symfony\Component\HttpKernel\Profiler\Profile
- $time
- $token
- $url
Methods
public
- __construct() — Constructor.
- __sleep()
- addChild() — Adds the child token
- addCollector() — Adds a Collector.
- getChildren() — Finds children profilers.
- getCollector() — Gets a Collector by name.
- getCollectors() — Gets the Collectors associated with this profile.
- getIp() — Returns the IP.
- getMethod() — Returns the request method.
- getParent() — Returns the parent profile.
- getParentToken() — Returns the parent token.
- getTime() — Returns the time.
- getToken() — Gets the token.
- getUrl() — Returns the URL.
- hasCollector() — Returns true if a Collector for the given name exists.
- setChildren() — Sets children profiler.
- setCollectors() — Sets the Collectors associated with this profile.
- setIp() — Sets the IP.
- setMethod()
- setParent() — Sets the parent token
- setTime()
- setToken() — Sets the token.
- setUrl()