trait HasComponents (View source)

Properties

protected Component[] $components

Methods

components(array|Closure $components)

No description

schema(array|Closure $components)

No description

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

No description

array
getFlatComponents(bool $withHidden = false)

No description

array
getFlatComponentsByKey(bool $withHidden = false)

No description

array
getFlatFields(bool $withHidden = false, bool $withAbsolutePathKeys = false)

No description

array
getComponents(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

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

No description

Parameters

string|Closure $findComponentUsing
bool $withHidden

Return Value

Component|null

array getFlatComponents(bool $withHidden = false)

No description

Parameters

bool $withHidden

Return Value

array

array getFlatComponentsByKey(bool $withHidden = false)

No description

Parameters

bool $withHidden

Return Value

array

array getFlatFields(bool $withHidden = false, bool $withAbsolutePathKeys = false)

No description

Parameters

bool $withHidden
bool $withAbsolutePathKeys

Return Value

array

array getComponents(bool $withHidden = false)

No description

Parameters

bool $withHidden

Return Value

array