Profile::getIp()

string getIp() Returns the IP. Return Value string The IP

Profile::getParentToken()

null|string getParentToken() Returns the parent token. Return Value null|string The parent token

Profile::getMethod()

string getMethod() Returns the request method. Return Value string The request method

Profile::getParent()

Profile getParent() Returns the parent profile. Return Value Profile The parent profile

Profile

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()

Profile::getChildren()

Profile[] getChildren() Finds children profilers. Return Value Profile[] An array of Profile

Profile::addCollector()

addCollector(DataCollectorInterface $collector) Adds a Collector. Parameters DataCollectorInterface $collector A DataCollectorInterface instance

Profile::getCollector()

DataCollectorInterface getCollector(string $name) Gets a Collector by name. Parameters string $name A collector name Return Value DataCollectorInterface A DataCollectorInterface instance Exceptions InvalidArgumentException if the collector does not exist

Profile::addChild()

addChild(Profile $child) Adds the child token. Parameters Profile $child The child Profile

ProcessUtils::escapeArgument()

static string escapeArgument(string $argument) Escapes a string to be used as a shell argument. Parameters string $argument The argument that will be escaped Return Value string The escaped argument