You are here

protected function ImagemagickImageToolkitOperationBase::getToolkit in ImageMagick 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/ImageToolkit/Operation/imagemagick/ImagemagickImageToolkitOperationBase.php \Drupal\imagemagick\Plugin\ImageToolkit\Operation\imagemagick\ImagemagickImageToolkitOperationBase::getToolkit()
  2. 8.2 src/Plugin/ImageToolkit/Operation/imagemagick/ImagemagickImageToolkitOperationBase.php \Drupal\imagemagick\Plugin\ImageToolkit\Operation\imagemagick\ImagemagickImageToolkitOperationBase::getToolkit()

Returns the image toolkit instance for this operation.

Image toolkit implementers should provide a toolkit operation base class that overrides this method to correctly document the return type of this getter. This provides better DX (code checking and code completion) for image toolkit operation developers.

Return value

\Drupal\Core\ImageToolkit\ImageToolkitInterface

Overrides ImageToolkitOperationBase::getToolkit

File

src/Plugin/ImageToolkit/Operation/imagemagick/ImagemagickImageToolkitOperationBase.php, line 20

Class

ImagemagickImageToolkitOperationBase
Base image toolkit operation class for Imagemagick.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit\Operation\imagemagick

Code

protected function getToolkit() {
  return parent::getToolkit();
}