Interface LaravelUi5\Core\Ui5\Capabilities\SlottableInterface

The slot-consume capability — the slots an artifact's render (or, for a non-rendering consumer, its execution) depends on.

Split from the former two-method capability (Enterprise API notes, 2026-07-13): consuming slots and proposing slots are independent concerns, and most consumers never propose. This interface carries the consume half only; the propose half lives in {@see SlotProposableInterface}, which extends this one (every proposer is also a consumer).

  • Composition nodes (Dashboard, Card, Tile, Chart, DashboardGroup) that contribute values to the active composition implement {@see SlotProposableInterface} (this + getSlotProposals()).
  • Pure consumers (a Report, and — via the SDK — a typed action handler that opts in) implement this interface alone: they declare what they need and never propose.

The slot catalog itself lives on module classes via #[Slot] declarations (see {@see \LaravelUi5\Core\Parameters\Attributes\Slot}). Abstract bases default {@see getRequiredSlots()} to [] — no existing artifact is forced into the contract.

Slot identity is BackedEnum-typed (Parameter API D11): getRequiredSlots() returns enum cases directly.

Methods