public function ImagemagickExecArguments::countArguments in ImageMagick 8.2
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 ::find() instead, then count the result.
See also
https://www.drupal.org/project/imagemagick/issues/2936615
File
- src/
ImagemagickExecArguments.php, line 391
Class
- ImagemagickExecArguments
- Stores arguments for execution of ImageMagick/GraphicsMagick commands.
Namespace
Drupal\imagemagickCode
public function countArguments() {
@trigger_error('countArguments() is deprecated in 8.x-2.3, will be removed in 8.x-3.0. Use ::find() instead, then count the result. See https://www.drupal.org/project/imagemagick/issues/2936615.', E_USER_DEPRECATED);
return count($this->arguments);
}