Documentation

Address

Table of Contents

$addr  : string|null
IP address.
$prefixLen  : int|null
Mask length of the IP address.
getAddr()  : string|null
IP address.
getPrefixLen()  : int|null
Mask length of the IP address.
setAddr()  : self
IP address.
setPrefixLen()  : self
Mask length of the IP address.

Properties

$addr

IP address.

protected string|null $addr

$prefixLen

Mask length of the IP address.

protected int|null $prefixLen

Methods

getAddr()

IP address.

public getAddr() : string|null
Return values
string|null

getPrefixLen()

Mask length of the IP address.

public getPrefixLen() : int|null
Return values
int|null

setAddr()

IP address.

public setAddr(string|null $addr) : self
Parameters
$addr : string|null
Return values
self

setPrefixLen()

Mask length of the IP address.

public setPrefixLen(int|null $prefixLen) : self
Parameters
$prefixLen : int|null
Return values
self

Search results