Interface LaravelUi5\Core\Ui5\Contracts\Ui5RegistryInterface

extends Ui5RuntimeInterface

Interface Ui5RegistryInterface

Defines the build-time introspection and coordination contract of the LaravelUi5 ecosystem. The registry exposes a unified API to discover, inspect, and reflect upon all UI5-related modules, artifacts, roles, abilities, settings, and semantic objects declared in a Laravel application.

The registry operates at development or build time and performs reflection across modules and PHP attributes. It is the authoritative source for generating cache files, documentation, and metadata used at runtime by the {@see Ui5RuntimeInterface}.

Responsibilities:

  • Discover modules and artifacts from configuration and attributes
  • Collect and normalize metadata (roles, abilities, settings, semantic objects)
  • Provide build-time data for the runtime cache generator (ui5:cache)

System guarantees:

  • Every module has a unique slug
  • Every artifact has a globally unique namespace
  • Artifacts are addressable either through their module or namespace

Example use cases:

  • Generate the runtime cache file via php artisan ui5:cache
  • Produce manifest.json files or capability maps for modules
  • Inspect declared roles, settings, or abilities for validation or documentation
Methods
Methods inherited from LaravelUi5\Core\Ui5\Contracts\Ui5RuntimeInterface
hasModule(), getModule(), has(), get(), fromSlug(), slugFor(), resolve(), resolveIntents(), resolveRoots()