InterventionDriver
abstract class InterventionDriver implements Driver (View source)
Properties
| protected Transformation>, callable> | $transformationHandlers | The registered transformation handlers. |
|
| protected ImageManager | $manager | The Intervention image manager instance. |
Methods
Create a new Intervention driver instance.
Create the underlying Intervention image manager.
Ensure Intervention Image is installed.
Process the given image contents with the specified pipeline.
Register a transformation handler.
Get the handler for the given transformation.
Details
__construct()
Create a new Intervention driver instance.
abstract protected ImageManager
createManager()
Create the underlying Intervention image manager.
void
ensureRequirementsAreMet()
Ensure Intervention Image is installed.
string
process(string $contents, ImagePipeline $pipeline)
Process the given image contents with the specified pipeline.
Driver
transformUsing(string $transformation, callable $callback)
Register a transformation handler.
protected callable|null
transformationHandlerFor(object $transformation)
Get the handler for the given transformation.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.