interface IComponent

Defines core functionality required by all components.

Constants

NameSeparator

Separator for component names in path concatenation.

deprecated 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 24
string|null getName()

No description

Return Value

string|null

at line 29
IContainer|null getParent()

Returns the parent container if any.

Return Value

IContainer|null

at line 34
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