Profile::getParent()

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

Profile::getMethod()

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

Profile::getIp()

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

Profile::getCollectors()

DataCollectorInterface[] getCollectors() Gets the Collectors associated with this profile. Return Value DataCollectorInterface[]

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

addChild(Profile $child) Adds the child token. Parameters Profile $child The child 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()

ProcessUtils::validateInput()

static mixed validateInput(string $caller, mixed $input) Validates and normalizes a Process input. Parameters string $caller The name of method call that validates the input mixed $input The input to validate Return Value mixed The validated input Exceptions InvalidArgumentException In case the input is not valid