array getSchemes() Returns the lowercased schemes this route is restricted to. So an empty
unserialize($serialized) {@inheritdoc} Parameters
Route add(string $path, string $controller, string|null $name
RequestContext getContext()
Namespaces Sy
string getHost() Gets the HTTP host. The host is always lowercased because it must be
Route setRequirement(string $key, string $regex)
addOptions(array $options) Adds options to all routes. An existing option value under the
bool hasScheme(string $scheme) Checks if a scheme requirement has been set.
$this setMethods(array|string $methods) Sets the methods on all embedded routes (unless already
Page 3 of 13