[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/routing/Matcher/ -> UrlMatcher.php (summary)

(no description)

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

Defines 1 class

UrlMatcher:: (12 methods):
  __construct()
  setContext()
  getContext()
  match()
  matchRequest()
  addExpressionLanguageProvider()
  matchCollection()
  getAttributes()
  handleRouteRequirements()
  mergeDefaults()
  getExpressionLanguage()
  createRequest()


Class: UrlMatcher  - X-Ref

UrlMatcher matches URL based on a set of routes.

__construct(RouteCollection $routes, RequestContext $context)   X-Ref


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


getContext()   X-Ref
{@inheritdoc}


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


matchRequest(Request $request)   X-Ref
{@inheritdoc}


addExpressionLanguageProvider(ExpressionFunctionProviderInterface $provider)   X-Ref
No description

matchCollection($pathinfo, RouteCollection $routes)   X-Ref
Tries to match a URL with a set of routes.

param: string          $pathinfo The path info to be parsed
param: RouteCollection $routes   The set of routes
return: array An array of parameters

getAttributes(Route $route, $name, array $attributes)   X-Ref
Returns an array of values to use as request attributes.

As this method requires the Route object, it is not available
in matchers that do not have access to the matched Route instance
(like the PHP and Apache matcher dumpers).

param: Route  $route      The route we are matching against
param: string $name       The name of the route
param: array  $attributes An array of attributes from the matcher
return: array An array of parameters

handleRouteRequirements($pathinfo, $name, Route $route)   X-Ref
Handles specific route requirements.

param: string $pathinfo The path
param: string $name     The route name
param: Route  $route    The route
return: array The first element represents the status, the second contains additional information

mergeDefaults($params, $defaults)   X-Ref
Get merged default parameters.

param: array $params   The parameters
param: array $defaults The defaults
return: array Merged default parameters

getExpressionLanguage()   X-Ref
No description

createRequest($pathinfo)   X-Ref




Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1