IRouter¶
-
interface
OCP\Route\
IRouter
¶ - Interface IRouter
Implemented by: OC\Route\Router
Source: lib/public/Route/IRouter.php#35
Methods¶
-
public
OCP\Route\IRouter::
create
($name, $pattern, $defaults=[], $requirements=[])¶ - Create a \OCP\Route\IRoute.
Source: Parameters: - $name (string) Name of the route to create.
- $pattern (string) The pattern to match
- $defaults (array) An array of default parameter values
- $requirements (array) An array of requirements for parameters (regexes)
Returns: Since: 7.0.0
Deprecated: 9.0.0