class ImagePipeline (View source)

Properties

Transformation> $transformations

The ordered image transformations.

Methods

__construct(ImageOutputOptions $output = new ImageOutputOptions())

Create a new image pipeline instance.

void
add(Transformation $transformation)

Add a transformation to the pipeline.

bool
hasChanges()

Determine if the pipeline has transformations or output changes.

void
__clone()

Clone the output options with the pipeline.

Details

__construct(ImageOutputOptions $output = new ImageOutputOptions())

Create a new image pipeline instance.

Parameters

ImageOutputOptions $output

void add(Transformation $transformation)

Add a transformation to the pipeline.

Parameters

Transformation $transformation

Return Value

void

bool hasChanges()

Determine if the pipeline has transformations or output changes.

Return Value

bool

void __clone()

Clone the output options with the pipeline.

Return Value

void