| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 177 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
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 = [], $schemes = null) X-Ref |
param: string|null $path param: string|null $host param: string|string[]|null $methods param: string|string[]|null $ips 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: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |