Index Documentation

IPAddressRange
in package
implements JsonSerializable, Stringable, IEquatable

FinalYes

Table of Contents

Interfaces

JsonSerializable
Stringable
IEquatable
Provides an interface for determining the value-equality of two objects.

Methods

__construct()  : mixed
__serialize()  : array<string|int, mixed>
__toString()  : string
__unserialize()  : void
equals()  : bool
Checks whether the current object is equal to another.
getBaseAddress()  : IPAddress
getCIDR()  : string
getMask()  : int
jsonSerialize()  : mixed
match()  : bool
parse()  : IPAddressRange

Methods

__serialize()

public __serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

__unserialize()

public __unserialize(array<string|int, mixed> $serialized) : void
Parameters
$serialized : array<string|int, mixed>

equals()

Checks whether the current object is equal to another.

public equals(mixed $other) : bool
Parameters
$other : mixed
Return values
bool

true if the objects are equals, false if not.


        
On this page

Search results