trait TransformationCustomFunctionTrait

Trait TransformationCustomFunctionTrait

An 'alias' for building a CustomFunction Transformation

Methods

customFunction(CustomFunction $customFunction)

Inject a custom function into the image transformation pipeline.

Details

TransformationCustomFunctionTrait customFunction(CustomFunction $customFunction)

Inject a custom function into the image transformation pipeline.

Parameters

Name Type Description
$customFunction CustomFunction The custom function source

Return Value

TransformationCustomFunctionTrait