trait HasComponents (View source)

Properties

protected array|Closure $components

Methods

components(array|Closure $components)

No description

schema(array|Closure $components)

No description

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

No description

array
getFlatComponents(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 $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

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