Documentation

TiqBase
in package

Base Abstract Tiq Class

Table of Contents

__get()  : mixed
Base getter hooked into php's magic __get
__set()  : mixed
Base setter hooked into php's magic __set
terminate()  : mixed
Logs an error and throws and exception

Methods

__get()

Base getter hooked into php's magic __get

public __get(string $name) : mixed

Allows the retrieval of properties from a class. Requires the implementation of a get method in the concrete class

Parameters
$name : string

name of the property

Return values
mixed

__set()

Base setter hooked into php's magic __set

public __set(string $name, mixed $value) : mixed

Allows the settings of properties on a class safely. Requires the implementation of a set method in the concrete class

Parameters
$name : string

name of property to be set

$value : mixed
Return values
mixed

terminate()

Logs an error and throws and exception

protected terminate([string $message = '' ]) : mixed
Parameters
$message : string = ''

Reason for termination

Tags
throws
LogicException
Return values
mixed

Search results