class Dispatcher

Class Dispatcher

Properties

string $type
string $subclassOf
array $types

Methods

__construct( string $type, string $subclassOf)

Dispatcher constructor.

string
getType()

No description

array
getTypes()

No description

bool|string
getClassForType($type)

No description

array
getTypeKeys()

No description

addType($typeClass)

add a new type

addTypes( array $types)

add types

Details

at line line 44
__construct( string $type, string $subclassOf)

Dispatcher constructor.

Parameters

string $type
string $subclassOf

at line line 56
string getType()

Return Value

string

at line line 63
array getTypes()

Return Value

array

at line line 72
bool|string getClassForType($type)

Parameters

$type

Return Value

bool|string

at line line 83
array getTypeKeys()

Return Value

array

at line line 92
addType($typeClass)

add a new type

Parameters

$typeClass

at line line 103
addTypes( array $types)

add types

Parameters

array $types