public function IpUtilsTest::testIpv4 in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/IpUtilsTest.php \Symfony\Component\HttpFoundation\Tests\IpUtilsTest::testIpv4()
@dataProvider testIpv4Provider
File
- vendor/
symfony/ http-foundation/ Tests/ IpUtilsTest.php, line 21
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testIpv4($matches, $remoteAddr, $cidr) {
$this
->assertSame($matches, IpUtils::checkIp($remoteAddr, $cidr));
}