CachingRouter

class OC\Route\CachingRouter
Source:lib/private/Route/CachingRouter.php#30
Parent:OC\Route\Router

Properties

protected static property OC\Route\CachingRouter::$cache
Source:lib/private/Route/CachingRouter.php#34
Type:\OCP\ICache

Methods

public OC\Route\CachingRouter::__construct($cache, $logger)
Source:

lib/private/Route/CachingRouter.php#40

Parameters:
public OC\Route\CachingRouter::generate($name, $parameters=[], $absolute=false)
Generate url based on $name and $parameters
Source:

lib/private/Route/CachingRouter.php#53

Parameters:
  • $name (string) Name of the route to use.
  • $parameters (array) Parameters for the route
  • $absolute (bool)
Returns:

string