@dataProvider testIpv4Provider
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/IpUtilsTest.php, line 21
Class
- IpUtilsTest
Namespace
Symfony\Component\HttpFoundation\Tests
Code
public function testIpv4($matches, $remoteAddr, $cidr) {
$this
->assertSame($matches, IpUtils::checkIp($remoteAddr, $cidr));
}