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) | ||
| 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. |
||
| Boolean |
hasCollector(string $name)
Returns true if a Collector for the given name exists. |
|
| __sleep() |
Details
at line 50
public
__construct(string $token)
Constructor.
at line 60
public
setToken(string $token)
Sets the token.
at line 70
public string
getToken()
Gets the token.
at line 80
public
setParent(Profile $parent)
Sets the parent token
at line 90
public Profile
getParent()
Returns the parent profile.
at line 100
public null|string
getParentToken()
Returns the parent token.
at line 110
public string
getIp()
Returns the IP.
at line 120
public
setIp(string $ip)
Sets the IP.
at line 130
public string
getMethod()
Returns the request method.
at line 135
public
setMethod($method)
at line 145
public string
getUrl()
Returns the URL.
at line 150
public
setUrl($url)
at line 160
public string
getTime()
Returns the time.
at line 169
public
setTime($time)
at line 179
public Profile[]
getChildren()
Finds children profilers.
at line 189
public
setChildren(array $children)
Sets children profiler.
at line 202
public
addChild(Profile $child)
Adds the child token
at line 217
public DataCollectorInterface
getCollector(string $name)
Gets a Collector by name.
at line 231
public DataCollectorInterface[]
getCollectors()
Gets the Collectors associated with this profile.
at line 241
public
setCollectors(array $collectors)
Sets the Collectors associated with this profile.
at line 254
public
addCollector(DataCollectorInterface $collector)
Adds a Collector.
at line 266
public Boolean
hasCollector(string $name)
Returns true if a Collector for the given name exists.