final class ImageViewHelper (View source)

Renders public image references as escaped HTML image markup.

It resolves URLs and presentation attributes only; transformation and persistence happen earlier.

Methods

string
image(ImageReference|null $reference, ImageViewOptions|null $options = null)
string

Details

__construct

No description

Parameters

ImageUrlResolverInterface $urls

image

string image(ImageReference|null $reference, ImageViewOptions|null $options = null)

No description

Parameters

ImageReference|null $reference
ImageViewOptions|null $options

Return Value

string