Documentation

Anything extends Type
in package

Represents a generic binary data string

Tags
category

LibDNS

author

Chris Wright https://github.com/DaveRandom

Table of Contents

Properties

$value  : string

Methods

__construct()  : mixed
Constructor
__toString()  : string
Magic method for type coercion to string
getValue()  : mixed
Get the internal value
setValue()  : mixed
Set the internal value

Properties

Methods

__construct()

Constructor

public __construct([string $value = null ]) : mixed
Parameters
$value : string = null

Internal value

Tags
throws
RuntimeException

When the supplied value is invalid

__toString()

Magic method for type coercion to string

public __toString() : string
Return values
string

getValue()

Get the internal value

public getValue() : mixed

setValue()

Set the internal value

public setValue(string $value) : mixed
Parameters
$value : string

The new value

Tags
throws
UnexpectedValueException

When the supplied value is outside the valid length range 0 - 65535


        
On this page

Search results