class ImagePipeline

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

at line 21
__construct(ImageOutputOptions $output = new ImageOutputOptions())

Create a new image pipeline instance.

Parameters

ImageOutputOptions $output

at line 28
void add(Transformation $transformation)

Add a transformation to the pipeline.

Parameters

Transformation $transformation

Return Value

void

at line 36
bool hasChanges()

Determine if the pipeline has transformations or output changes.

Return Value

bool

at line 44
void __clone()

Clone the output options with the pipeline.

Return Value

void