Adds a check for the client IP.
Parameters
string|string[] $ips A specific IP address or a range specified using IP/netmask like 192.168.1.0/24:
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RequestMatcher.php, line 101
Class
- RequestMatcher
- RequestMatcher compares a pre-defined set of checks against a Request instance.
Namespace
Symfony\Component\HttpFoundation
Code
public function matchIps($ips) {
$this->ips = (array) $ips;
}