Adds a check for the client IP.
Parameters
string $ip 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 84
Class
- RequestMatcher
- RequestMatcher compares a pre-defined set of checks against a Request instance.
Namespace
Symfony\Component\HttpFoundation
Code
public function matchIp($ip) {
$this->ip = $ip;
}