ComponentContainer
class ComponentContainer extends ViewComponent (View source)
Traits
Properties
protected string | $evaluationIdentifier | ||
static protected Closure>> | $macros | from Macroable | |
protected string | $view | ||
protected string|Closure|null | $defaultView | from ViewComponent | |
protected array<string,mixed> | $viewData | from ViewComponent | |
protected string | $viewIdentifier | ||
protected Component|null | $livewire | from BelongsToLivewire | |
protected Component|null | $parentComponent | from BelongsToParentComponent | |
protected array|null | $columns | from HasColumns | |
protected Component[] | $components | from HasComponents | |
protected string|Closure|null | $entryWrapperView | from HasEntryWrapper | |
protected bool|Closure|null | $hasInlineLabels | from HasInlineLabels | |
protected string|null | $statePath | from HasState | |
Model|null | $record | from HasState | |
protected array<string,mixed> | $state | from HasState | |
protected string | $cachedAbsoluteStatePath | from HasState | |
protected array | $extraAttributes | from HasExtraAttributes |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])
No description
protected mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)
No description
protected string|null
getTypedReflectionParameterClassName(ReflectionParameter $parameter)
No description
static void
macro(string $name, callable $macro)
No description
static void
mixin(object $mixin, bool $replace = true)
No description
static void
flushMacros()
No description
static mixed
__callStatic(string $method, array $parameters)
No description
mixed
__call(string $method, array $parameters)
No description
static protected callable|null
getMacro(string $method)
No description
ViewComponent
view(string|null $view, array $viewData = [])
No description
ViewComponent
defaultView(string|Closure|null $view)
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string|null
getDefaultView()
No description
string
toHtml()
No description
View
render()
No description
BelongsToLivewire
livewire(Component|null $livewire)
No description
Component|null
getLivewire()
No description
BelongsToParentComponent
parentComponent(Component $component)
No description
Component|null
getParentComponent()
No description
Infolist
getInfolist()
No description
bool
isHidden()
No description
bool
isVisible()
No description
Cloneable
getClone()
No description
HasColumns
columns(array|int|null $columns = 2)
No description
array|int|null
getColumns(string|null $breakpoint = null)
No description
array
getColumnsConfig()
No description
HasComponents
components(array|Closure $components)
No description
HasComponents
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
HasEntryWrapper
entryWrapperView(string|Closure|null $view)
No description
string|null
getCustomEntryWrapperView()
No description
HasInlineLabels
inlineLabel(bool|Closure|null $condition = true)
No description
bool|null
hasInlineLabel()
No description
HasState
state(array|null $state)
No description
HasState
statePath(string|null $path)
No description
HasState
record(Model|null $record)
No description
string
getStatePath(bool $isAbsolute = true)
No description
Model|array
getState()
No description
Model|null
getRecord()
No description
protected void
flushCachedAbsoluteStatePath()
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
final
__construct(Component|null $livewire = null)
No description
static ComponentContainer
make(Component|null $livewire = null)
No description