interface IComponent

Defines core functionality required by all components.

Constants

NameSeparator

Separator for component names in path concatenation.

NAME_SEPARATOR

Methods

string|null
getName()

No description

IContainer|null
getParent()

Returns the parent container if any.

setParent(IContainer|null $parent, string|null $name = null)

Sets the parent container and optionally renames the component.

Details

at line 25
string|null getName()

No description

Return Value

string|null

at line 31
IContainer|null getParent()

Returns the parent container if any.

Return Value

IContainer|null

at line 37
IComponent setParent(IContainer|null $parent, string|null $name = null)

Sets the parent container and optionally renames the component.

Parameters

IContainer|null $parent
string|null $name

Return Value

IComponent