HasComponents
trait HasComponents (View source)
Properties
protected array<string,class-string> | $livewireComponents | ||
protected class-string[] | $pages | ||
protected string[] | $pageDirectories | ||
protected string[] | $pageNamespaces | ||
protected class-string[] | $clusters | ||
protected string[] | $clusterDirectories | ||
protected string[] | $clusterNamespaces | ||
protected Cluster>,class-string[]> | $clusteredComponents | ||
protected class-string[] | $resources | ||
protected string[] | $resourceDirectories | ||
protected string[] | $resourceNamespaces | ||
protected Widget>[] | $widgets | ||
protected string[] | $widgetDirectories | ||
protected string[] | $widgetNamespaces | ||
protected bool|Closure | $hasReadOnlyRelationManagersOnResourceViewPagesByDefault | ||
protected bool|null | $hasCachedComponents |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
HasComponents
pages(array $pages)
No description
HasComponents
resources(array $resources)
No description
string|null
getModelResource(Model $model)
No description
HasComponents
widgets(array $widgets)
No description
protected string
normalizeWidgetClass(WidgetConfiguration $widget)
No description
HasComponents
discoverPages(string $in, string $for)
No description
array
getPageDirectories()
No description
array
getPageNamespaces()
No description
HasComponents
discoverClusters(string $in, string $for)
No description
array
getClusterDirectories()
No description
array
getClusterNamespaces()
No description
HasComponents
discoverResources(string $in, string $for)
No description
array
getResourceDirectories()
No description
array
getResourceNamespaces()
No description
HasComponents
discoverWidgets(string $in, string $for)
No description
array
getWidgetDirectories()
No description
array
getWidgetNamespaces()
No description
HasComponents
discoverLivewireComponents(string $in, string $for)
No description
array
getPages()
No description
array
getResources()
No description
array
getWidgets()
No description
protected void
discoverComponents(string $baseClass, array $register, string|null $directory, string|null $namespace)
No description
HasComponents
livewireComponents(array $components)
No description
protected void
registerLivewireComponents()
No description
protected string
normalizeRelationManagerClass(RelationManagerConfiguration $manager)
No description
protected void
registerToCluster(string $component)
No description
protected void
queueLivewireComponentForRegistration(string $component)
No description
HasComponents
readOnlyRelationManagersOnResourceViewPagesByDefault(bool|Closure $condition = true)
No description
bool
hasReadOnlyRelationManagersOnResourceViewPagesByDefault()
No description
array
getClusteredComponents(string|null $cluster = null)
No description
bool
hasCachedComponents()
No description
void
cacheComponents()
No description
void
restoreCachedComponents()
No description
void
clearCachedComponents()
No description
string
getComponentCachePath()
No description