readonly | |
|---|---|
implements |
Ui5ArtifactResolverInterface |
Resolves the export route (POST /ui5/export/{slug}) to its app artifact, so
ResolveUi5Context builds the SdkContext and CheckAuthMiddleware enforces the
app's #[Access] before {@see \LaravelUi5\Sdk\Http\Controllers\ExportController}
runs — the same path the shell routes take ({@see \LaravelUi5\Sdk\Platform\Context\ShellContextArtifactResolver}).
Registered in the host's config('ui5.artifact_resolvers') after
PathBasedArtifactResolver.
| Methods | ||
|---|---|---|
public
|
__construct(Ui5RegistryInterface $registry)
|
# |
public
|
resolve(Request $request): ?Ui5ArtifactInterface
|
# |