public function ImagemagickToolkit::countArguments in ImageMagick 8.2
Same name and namespace in other branches
- 8 src/Plugin/ImageToolkit/ImagemagickToolkit.php \Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::countArguments()
Returns the count of command line arguments.
Return value
$this
Deprecated
in 8.x-2.3, will be removed in 8.x-3.0. Use ImageMagickExecArguments::find() instead, then count the result.
See also
https://www.drupal.org/project/imagemagick/issues/2936615
File
- src/
Plugin/ ImageToolkit/ ImagemagickToolkit.php, line 1176
Class
- ImagemagickToolkit
- Provides ImageMagick integration toolkit for image manipulation.
Namespace
Drupal\imagemagick\Plugin\ImageToolkitCode
public function countArguments() {
@trigger_error('countArguments() is deprecated in 8.x-2.3, will be removed in 8.x-3.0. Use ImageMagickExecArguments::find() instead, then count the result. See https://www.drupal.org/project/imagemagick/issues/2936615.', E_USER_DEPRECATED);
return $this
->arguments()
->countArguments();
}