Interface LaravelUi5\Core\Ui5\Contracts\Ui5CardInterface

extends Ui5ArtifactInterface, SluggableInterface

Contract for UI5 Card artifacts.

A Card is a lightweight, embeddable UI element that typically displays summary or entry-point information (e.g. KPIs, recent items, small lists). It is backed by a {@see DataProviderInterface}, which encapsulates the domain logic and delivers the structured data required for rendering.

Responsibilities:

  • Declares the association between the Card artifact and its provider.
  • Provides routing information via {@see SluggableInterface}.
  • Acts as a discoverable artifact within the {@see Ui5RegistryInterface}.

Cross-cutting concerns:

  • If the provider implements {@see ParameterizableInterface}, validated request parameters are injected before execution.
  • If the provider implements {@see ConfigurableInterface}, resolved settings are injected before execution.

Cards are read-only artifacts: they must not change application state.

Methods
Methods inherited from LaravelUi5\Core\Ui5\Contracts\Ui5ArtifactInterface
getModule(), getNamespace(), getType(), getVersion(), getTitle(), getDescription()
Methods inherited from LaravelUi5\Core\Ui5\Contracts\SluggableInterface
getSlug()