trait IpRule (View source)

Methods

void
compileIp(string $key, string $masque)

Compile Ip Rule

Details

protected void compileIp(string $key, string $masque)

Compile Ip Rule

[ip], [ip:v4], [ip:v6] — Check that the contents of the field is a valid IPv4/IPv6 address. With no suffix either version is accepted.

Parameters

string $key
string $masque

Return Value

void