Allows an application's manifest to resolve its SAP-standard
sap.ui5/extends/extensions node for the acting subject at request time.
Core serves manifest.json per request and already injects request-time data
(OData dataSources/models; the laravel.ui5 fragment). This capability
adds a single, narrow seam: an app whose manifest object implements it is
handed its own extensions node by reference and may rewrite it for the
current context — e.g. flipping sap.ui.viewModifications visible flags from
the actor's grants, and stripping server-only hint keys.
Core stays stateless: it offers the seam and runs the instanceof, and knows
nothing of what the implementation reads or mutates. Only the extensions
node is exposed — never the whole manifest.
Because the result is per-subject, a manifest served through this seam is
delivered Cache-Control: no-store.
The implementing seat is the manifest object returned by {@see \LaravelUi5\Core\Ui5\Contracts\Ui5AppInterface::getLaravelUiManifest()}, which Core already resolves while assembling the manifest.
| Methods | ||
|---|---|---|
public
|
extend(Ui5ContextInterface $context, array<string, mixed> &$extensions): void
|
# |