yxorP Documentation

domainNameInterface extends aHostInterface

Table of Contents

append()  : self
clear()  : self
count()  : int
getIterator()  : Iterator
isAscii()  : bool
jsonSerialize()  : string|null
keys()  : array<string|int, mixed>
label()  : string|null
labels()  : array<string|int, mixed>
prepend()  : self
slice()  : self
toAscii()  : self
toString()  : string
toUnicode()  : self
value()  : string|null
withLabel()  : self
withoutLabel()  : self

Methods

append()

public append(mixed $label) : self
Parameters
$label : mixed
Return values
self

jsonSerialize()

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

keys()

public keys([string $label = null ]) : array<string|int, mixed>
Parameters
$label : string = null
Return values
array<string|int, mixed>

label()

public label(int $key) : string|null
Parameters
$key : int
Return values
string|null

labels()

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

prepend()

public prepend(mixed $label) : self
Parameters
$label : mixed
Return values
self

slice()

public slice(int $offset[, int $length = null ]) : self
Parameters
$offset : int
$length : int = null
Return values
self

value()

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

withLabel()

public withLabel(int $key, mixed $label) : self
Parameters
$key : int
$label : mixed
Return values
self

withoutLabel()

public withoutLabel(int $key, int ...$keys) : self
Parameters
$key : int
$keys : int
Return values
self

Search results