trait HasComponents (View source)

Properties

protected Component[] $components

Methods

components(array|Closure $components)

No description

schema(array|Closure $components)

No description

array
getComponents(bool $withHidden = false)

No description

Component|null
getComponent(string|Closure $callback, bool $withHidden = false)

No description

array
getFlatComponents(bool $withHidden = false)

No description

Details

HasComponents components(array|Closure $components)

No description

Parameters

array|Closure $components

Return Value

HasComponents

HasComponents schema(array|Closure $components)

No description

Parameters

array|Closure $components

Return Value

HasComponents

array getComponents(bool $withHidden = false)

No description

Parameters

bool $withHidden

Return Value

array

Component|null getComponent(string|Closure $callback, bool $withHidden = false)

No description

Parameters

string|Closure $callback
bool $withHidden

Return Value

Component|null

array getFlatComponents(bool $withHidden = false)

No description

Parameters

bool $withHidden

Return Value

array