protected ImageToolkitOperationBase::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.
\Drupal\Core\ImageToolkit\ImageToolkitInterface
protected function getToolkit() { return $this->toolkit; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!ImageToolkit!ImageToolkitOperationBase.php/function/ImageToolkitOperationBase::getToolkit/8.1.x