class ElementManager (View source)

Properties

protected Element[] $registry

Methods

get(string $element)

No description

register(string $element, Element $object)

Register an element.

unregister(string $element)

Unregister an element.

Details

Element get(string $element)

No description

Parameters

string $element

the element name

Return Value

Element

register(string $element, Element $object)

Register an element.

Parameters

string $element

the element name

Element $object

the element instance

unregister(string $element)

Unregister an element.

Parameters

string $element

the element name