Property | Type | Description | |
---|---|---|---|
$attributes | |||
$host | |||
$ip | |||
$methods | |||
$path |
Method | Description | |
---|---|---|
matchAttribute ( string $key, string $regexp ) | Adds a check for request attribute. | |
matchHost ( string $regexp ) | Adds a check for the URL host name. | |
matchIp ( string $ip ) | Adds a check for the client IP. | |
matchMethod ( $method ) | Adds a check for the HTTP method. | |
matchPath ( string $regexp ) | Adds a check for the URL path info. | |
matches ( |
Method | Description | |
---|---|---|
checkIp ( $ip ) |
public matchAttribute ( string $key, string $regexp ) | ||
$key | string | The request attribute name |
$regexp | string | A Regexp |