interface Driver (View source)

Methods

string
process(string $contents, ImagePipeline $pipeline)

Process the given image contents with the specified pipeline.

transformUsing(string $transformation, callable $callback)

Register a transformation handler.

Details

string process(string $contents, ImagePipeline $pipeline)

Process the given image contents with the specified pipeline.

Parameters

string $contents
ImagePipeline $pipeline

Return Value

string

Driver transformUsing(string $transformation, callable $callback)

Register a transformation handler.

Parameters

string $transformation
callable $callback

Return Value

Driver