class RequestContext Holds information about the current request. This class implements
$this setMethods(array|string $methods) Sets the methods on all embedded routes (unless already
bool hasRequirement(string $key) Checks if a requirement is set for the given key.
array getVariables() Returns the variables.
string getMethod() Gets the HTTP method. The method is always an uppercased string.
$this setCondition(string $condition) Sets a condition on all embedded routes (unless already
Route setCondition(string $condition)
addOptions(array $options) Adds options to all routes. An existing option value under the
setSchemes(string|array $schemes) Sets the schemes (e.g. 'https') all child routes are restricted
RequestContext setPathInfo(string $pathInfo)
Page 5 of 13