[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/symfony/routing/Symfony/Component/Routing/Matcher/Dumper/ -> ApacheMatcherDumper.php (summary)

(no description)

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

Defines 1 class

ApacheMatcherDumper:: (6 methods):
  dump()
  dumpRoute()
  getRouteMethods()
  regexToApacheRegex()
  escape()
  normalizeValues()


Class: ApacheMatcherDumper  - X-Ref

Dumps a set of Apache mod_rewrite rules.

dump(array $options = array()   X-Ref
Dumps a set of Apache mod_rewrite rules.

Available options:

* script_name: The script name (app.php by default)
* base_uri:    The base URI ("" by default)

param: array $options An array of options
return: string A string to be used as Apache rewrite rules

dumpRoute($name, $route, array $options, $hostRegexUnique)   X-Ref
Dumps a single route.

param: string $name            Route name
param: Route  $route           The route
param: array  $options         Options
param: bool   $hostRegexUnique Unique identifier for the host regex
return: string The compiled route

getRouteMethods(Route $route)   X-Ref
Returns methods allowed for a route.

param: Route $route The route
return: array The methods

regexToApacheRegex($regex)   X-Ref
Converts a regex to make it suitable for mod_rewrite.

param: string $regex The regex
return: string The converted regex

escape($string, $char, $with)   X-Ref
Escapes a string.

param: string $string The string to be escaped
param: string $char   The character to be escaped
param: string $with   The character to be used for escaping
return: string The escaped string

normalizeValues(array $values)   X-Ref
Normalizes an array of values.

param: array $values
return: string[]



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