ComponentGroup
FinalYes
Table of Contents
Properties
- $identifier : string
Methods
- __construct() : mixed
- add() : void
- $before and $after references the string keys used for $identifier
- get() : ComponentInterface|null
- getItems() : array<string, ComponentInterface>
- has() : bool
- remove() : true
- setItems() : void
Properties
$identifier read-only
        public
            string
    $identifier
    
    
    
    
    
    
Methods
__construct()
    public
                    __construct(string $identifier) : mixed
    Parameters
- $identifier : string
add()
$before and $after references the string keys used for $identifier
    public
                    add(string $identifier, ComponentInterface|null $item[, string $before = '' ][, string $after = '' ]) : void
    Parameters
- $identifier : string
- $item : ComponentInterface|null
- $before : string = ''
- $after : string = ''
get()
    public
                    get(string $identifier) : ComponentInterface|null
    Parameters
- $identifier : string
Return values
ComponentInterface|nullgetItems()
    public
                    getItems([ComponentInterface|null $ifEmptyUseThis = null ]) : array<string, ComponentInterface>
    Parameters
- $ifEmptyUseThis : ComponentInterface|null = null
Return values
array<string, ComponentInterface>has()
    public
                    has(string $identifier) : bool
    Parameters
- $identifier : string
Return values
boolremove()
    public
                    remove(string $identifier) : true
    Parameters
- $identifier : string
Return values
truesetItems()
    public
                    setItems(array<string, ComponentInterface|null> $items) : void
    Parameters
- $items : array<string, ComponentInterface|null>