You are here

public function ImagemagickExecArguments::resetArguments in ImageMagick 8.2

Resets the command line arguments.

Return value

$this

Deprecated

in 8.x-2.3, will be removed in 8.x-3.0. Use ::reset() instead.

See also

https://www.drupal.org/project/imagemagick/issues/2936615

File

src/ImagemagickExecArguments.php, line 366

Class

ImagemagickExecArguments
Stores arguments for execution of ImageMagick/GraphicsMagick commands.

Namespace

Drupal\imagemagick

Code

public function resetArguments() {
  @trigger_error('resetArguments() is deprecated in 8.x-2.3, will be removed in 8.x-3.0. Use ::reset() instead. See https://www.drupal.org/project/imagemagick/issues/2936615.', E_USER_DEPRECATED);
  return $this
    ->reset();
}