Interface LaravelUi5\Core\Infrastructure\Contracts\Ui5SourceStrategyInterface

Strategy interface for resolving and accessing UI5 source artifacts.

A Ui5SourceStrategy encapsulates how UI5 resources for a given module are located and accessed, depending on the module's origin.

Typical implementations include:

  • Workspace-based strategies (live UI5 projects under development)
  • Package-based strategies (Composer-installed, self-contained modules)

The strategy is resolved centrally (e.g. by the Ui5Registry) and is responsible for:

  • determining the runtime UI5 resource path,
  • and, optionally, creating an introspection-capable Ui5Source instance.

Important:

  • The runtime path must always be resolvable and usable.
  • Introspection may be expensive and is therefore optional.
  • Consumers must not assume that introspection is available.
Methods