[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/symfony/routing/Symfony/Component/Routing/ -> Router.php (summary)

(no description)

File Size: 289 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Router:: (11 methods):
  __construct()
  setOptions()
  setOption()
  getOption()
  getRouteCollection()
  setContext()
  getContext()
  generate()
  match()
  getMatcher()
  getGenerator()


Class: Router  - X-Ref

The Router class is an example of the integration of all pieces of the
routing system for easier use.

__construct(LoaderInterface $loader, $resource, array $options = array()   X-Ref
Constructor.

param: LoaderInterface $loader   A LoaderInterface instance
param: mixed           $resource The main resource to load
param: array           $options  An array of options
param: RequestContext  $context  The context
param: LoggerInterface $logger   A logger instance

setOptions(array $options)   X-Ref
Sets options.

Available options:

* cache_dir:     The cache directory (or null to disable caching)
* debug:         Whether to enable debugging or not (false by default)
* resource_type: Type hint for the main resource (optional)

param: array $options An array of options

setOption($key, $value)   X-Ref
Sets an option.

param: string $key   The key
param: mixed  $value The value

getOption($key)   X-Ref
Gets an option value.

param: string $key The key
return: mixed The value

getRouteCollection()   X-Ref
{@inheritdoc}


setContext(RequestContext $context)   X-Ref
{@inheritdoc}


getContext()   X-Ref
{@inheritdoc}


generate($name, $parameters = array()   X-Ref
{@inheritdoc}


match($pathinfo)   X-Ref
{@inheritdoc}


getMatcher()   X-Ref
Gets the UrlMatcher instance associated with this Router.

return: UrlMatcherInterface A UrlMatcherInterface instance

getGenerator()   X-Ref
Gets the UrlGenerator instance associated with this Router.

return: UrlGeneratorInterface A UrlGeneratorInterface instance



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1