Profile
in package
Profile.
Tags
Table of Contents
- $children : array<string|int, Profile>
- $collectors : array<string|int, DataCollectorInterface>
- $ip : mixed
- $method : mixed
- $parent : Profile
- $statusCode : mixed
- $time : mixed
- $token : mixed
- $url : mixed
- __construct() : mixed
- __sleep() : array<string|int, mixed>
- addChild() : mixed
- Adds the child token.
- addCollector() : mixed
- Adds a Collector.
- getChildByToken() : self|null
- getChildren() : array<string|int, self>
- Finds children profilers.
- getCollector() : DataCollectorInterface
- Gets a Collector by name.
- getCollectors() : array<string|int, DataCollectorInterface>
- Gets the Collectors associated with this profile.
- getIp() : string|null
- Returns the IP.
- getMethod() : string|null
- Returns the request method.
- getParent() : self|null
- Returns the parent profile.
- getParentToken() : string|null
- Returns the parent token.
- getStatusCode() : int|null
- getTime() : int
- getToken() : string
- Gets the token.
- getUrl() : string|null
- Returns the URL.
- hasCollector() : bool
- setChildren() : mixed
- Sets children profiler.
- setCollectors() : mixed
- Sets the Collectors associated with this profile.
- setIp() : mixed
- setMethod() : mixed
- setParent() : mixed
- Sets the parent token.
- setStatusCode() : mixed
- setTime() : mixed
- setToken() : mixed
- setUrl() : mixed
Properties
$children
private
array<string|int, Profile>
$children
= []
$collectors
private
array<string|int, DataCollectorInterface>
$collectors
= []
$ip
private
mixed
$ip
$method
private
mixed
$method
$parent
private
Profile
$parent
$statusCode
private
mixed
$statusCode
$time
private
mixed
$time
$token
private
mixed
$token
$url
private
mixed
$url
Methods
__construct()
public
__construct(string $token) : mixed
Parameters
- $token : string
Return values
mixed —__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed> —addChild()
Adds the child token.
public
addChild(self $child) : mixed
Parameters
- $child : self
Return values
mixed —addCollector()
Adds a Collector.
public
addCollector(DataCollectorInterface $collector) : mixed
Parameters
- $collector : DataCollectorInterface
Return values
mixed —getChildByToken()
public
getChildByToken(string $token) : self|null
Parameters
- $token : string
Return values
self|null —getChildren()
Finds children profilers.
public
getChildren() : array<string|int, self>
Return values
array<string|int, self> —getCollector()
Gets a Collector by name.
public
getCollector(string $name) : DataCollectorInterface
Parameters
- $name : string
Tags
Return values
DataCollectorInterface —getCollectors()
Gets the Collectors associated with this profile.
public
getCollectors() : array<string|int, DataCollectorInterface>
Return values
array<string|int, DataCollectorInterface> —getIp()
Returns the IP.
public
getIp() : string|null
Return values
string|null —getMethod()
Returns the request method.
public
getMethod() : string|null
Return values
string|null —getParent()
Returns the parent profile.
public
getParent() : self|null
Return values
self|null —getParentToken()
Returns the parent token.
public
getParentToken() : string|null
Return values
string|null —getStatusCode()
public
getStatusCode() : int|null
Return values
int|null —getTime()
public
getTime() : int
Return values
int —getToken()
Gets the token.
public
getToken() : string
Return values
string —getUrl()
Returns the URL.
public
getUrl() : string|null
Return values
string|null —hasCollector()
public
hasCollector(string $name) : bool
Parameters
- $name : string
Return values
bool —setChildren()
Sets children profiler.
public
setChildren(array<string|int, Profile> $children) : mixed
Parameters
- $children : array<string|int, Profile>
Return values
mixed —setCollectors()
Sets the Collectors associated with this profile.
public
setCollectors(array<string|int, DataCollectorInterface> $collectors) : mixed
Parameters
- $collectors : array<string|int, DataCollectorInterface>
Return values
mixed —setIp()
public
setIp(string|null $ip) : mixed
Parameters
- $ip : string|null
Return values
mixed —setMethod()
public
setMethod(string $method) : mixed
Parameters
- $method : string
Return values
mixed —setParent()
Sets the parent token.
public
setParent(self $parent) : mixed
Parameters
- $parent : self
Return values
mixed —setStatusCode()
public
setStatusCode(int $statusCode) : mixed
Parameters
- $statusCode : int
Return values
mixed —setTime()
public
setTime(int $time) : mixed
Parameters
- $time : int
Return values
mixed —setToken()
public
setToken(string $token) : mixed
Parameters
- $token : string
Return values
mixed —setUrl()
public
setUrl(string|null $url) : mixed
Parameters
- $url : string|null