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 = ''

has()

public has(string $identifier) : bool
Parameters
$identifier : string
Return values
bool

remove()

public remove(string $identifier) : true
Parameters
$identifier : string
Return values
true

        
On this page

Search results