ImageVariantKey
final class ImageVariantKey (View source)
Is a deterministic SHA-256 identity for a source version and its normalized rendering definition
Methods
Derives a stable identity from the asset source version and normalized rendering definition
value()
Returns the SHA-256 value safe for use as a variant filename component
string
Details
from
static ImageVariantKey
from(ImageAsset $asset, ImageVariantDefinition $definition)
Derives a stable identity from the asset source version and normalized rendering definition
value
string
value()
Returns the SHA-256 value safe for use as a variant filename component