final class PublicUploadImageUrlResolver implements ImageUrlResolverInterface (View source)

Resolves public image references to root-relative upload URLs.

Methods

Creates a URL resolver constrained to the framework public upload boundary.

string
url(ImageReference $reference)

Resolves an image reference without requiring a canonical application origin.

string

Details

__construct

__construct(ApplicationContext $context)

Creates a URL resolver constrained to the framework public upload boundary.

Parameters

ApplicationContext $context

url

string url(ImageReference $reference)

Resolves an image reference without requiring a canonical application origin.

Parameters

ImageReference $reference

Return Value

string