IContainer
interface IContainer implements IComponent
Defines functionality for objects that can contain other components.
Methods
void
IComponent|null
getComponent(string $name)
Returns component specified by name or path.
iterable
getComponents()
Returns immediate child components.
Details
at line 24
IContainer
addComponent(IComponent $component, string|null $name)
Adds the component to the container.
at line 29
void
removeComponent(IComponent $component)
Removes the component from the container.
at line 35
IComponent|null
getComponent(string $name)
Returns component specified by name or path.
at line 41
iterable
getComponents()
Returns immediate child components.