final class ImageAsset (View source)

Identifies one persistent image asset without assigning it an application-specific owner

Methods

__construct(string $id, ImageOriginalReference $original)

Creates a path-safe asset identity bound to its immutable persistent original

string
id()

Returns the path-safe identity shared by the original and all derived variants

string

Returns the immutable reference that locates the persistent source

Details

__construct

__construct(string $id, ImageOriginalReference $original)

Creates a path-safe asset identity bound to its immutable persistent original

Parameters

string $id
ImageOriginalReference $original

id

string id()

Returns the path-safe identity shared by the original and all derived variants

Return Value

string

original

Returns the immutable reference that locates the persistent source

Return Value

ImageOriginalReference