GdDriver
class GdDriver extends InterventionDriver (View source)
Properties
| protected Transformation>,callable> | $transformationHandlers | The registered transformation handlers. |
from InterventionDriver |
| protected | $manager | The Intervention image manager instance. |
from InterventionDriver |
Methods
ImageManager
createManager()
Create the underlying Intervention image manager.
string
process(string $contents, ImagePipeline $pipeline)
Process the given image contents with the specified pipeline.
from
InterventionDriver
transformUsing(string $transformation, callable $callback)
Register a transformation handler.
from
InterventionDriver
callable|null
transformationHandlerFor(object $transformation)
Get the handler for the given transformation.
from
InterventionDriver
Details
__construct()
Create a new Intervention driver instance.
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.