abstract class IPRange implements Countable

Methods

static IPRange
from(string $format)

No description

string
getBase()

No description

void
setBase(string $base)

No description

int
getNetworkBits()

No description

void
setNetworkBits(int $networkBits)

No description

bool
contains(string $ip)

No description

string
getFirst()

No description

string
getLast()

No description

int
count()

No description

static array
getLoopbackRanges()

No description

Details

at line 15
static IPRange from(string $format)

No description

Parameters

string $format

Return Value

IPRange

at line 33
abstract string getBase()

No description

Return Value

string

at line 34
abstract void setBase(string $base)

No description

Parameters

string $base

Return Value

void

at line 36
abstract int getNetworkBits()

No description

Return Value

int

at line 37
abstract void setNetworkBits(int $networkBits)

No description

Parameters

int $networkBits

Return Value

void

at line 43
abstract bool contains(string $ip)

No description

Parameters

string $ip

Return Value

bool

at line 44
abstract string getFirst()

No description

Return Value

string

at line 45
abstract string getLast()

No description

Return Value

string

at line 51
abstract int count()

No description

Return Value

int

at line 60
static array getLoopbackRanges()

No description

Return Value

array