[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/http-foundation/ -> RequestMatcher.php (summary)

(no description)

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

Defines 1 class

RequestMatcher:: (9 methods):
  __construct()
  matchScheme()
  matchHost()
  matchPath()
  matchIp()
  matchIps()
  matchMethod()
  matchAttribute()
  matches()


Class: RequestMatcher  - X-Ref

RequestMatcher compares a pre-defined set of checks against a Request instance.

__construct($path = null, $host = null, $methods = null, $ips = null, array $attributes = array()   X-Ref

param: string|null          $path
param: string|null          $host
param: string|string[]|null $methods
param: string|string[]|null $ips
param: array                $attributes
param: string|string[]|null $schemes

matchScheme($scheme)   X-Ref
Adds a check for the HTTP scheme.

param: string|string[]|null $scheme An HTTP scheme or an array of HTTP schemes

matchHost($regexp)   X-Ref
Adds a check for the URL host name.

param: string|null $regexp A Regexp

matchPath($regexp)   X-Ref
Adds a check for the URL path info.

param: string|null $regexp A Regexp

matchIp($ip)   X-Ref
Adds a check for the client IP.

param: string $ip A specific IP address or a range specified using IP/netmask like 192.168.1.0/24

matchIps($ips)   X-Ref
Adds a check for the client IP.

param: string|string[]|null $ips A specific IP address or a range specified using IP/netmask like 192.168.1.0/24

matchMethod($method)   X-Ref
Adds a check for the HTTP method.

param: string|string[]|null $method An HTTP method or an array of HTTP methods

matchAttribute($key, $regexp)   X-Ref
Adds a check for request attribute.

param: string $key    The request attribute name
param: string $regexp A Regexp

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




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