Documentation

Type
in package

AbstractYes

Base class for simple data types

Tags
category

LibDNS

author

Chris Wright https://github.com/DaveRandom

Table of Contents

Properties

$value  : mixed

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

$value

protected mixed $value

The internal value

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 abstract setValue(string $value) : mixed
Parameters
$value : string

The new value

Tags
throws
RuntimeException

When the supplied value is invalid


        
On this page

Search results