RequestContext setHost(string $host)
addDefaults(array $defaults) Adds defaults to all routes. An existing default value under
RequestContext setPathInfo(string $pathInfo)
bool hasRequirement(string $key) Checks if a requirement is set for the given key.
class RequestContext Holds information about the current request. This class implements
$this setCondition(string $condition) Sets a condition on all embedded routes (unless already
addOptions(array $options) Adds options to all routes. An existing option value under the
array getHostVariables() Returns the host variables.
mixed getAttribute(string $name, mixed $default = null) Returns an attribute by name.
string getRegex() Returns the regex. Return
Page 8 of 21