You are here

public function ImagemagickToolkit::getStringForBinary in ImageMagick 8.2

Gets the command line arguments string for the binary.

Removes any argument used internally within the toolkit.

Return value

string The string of command line arguments.

Deprecated

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

See also

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

File

src/Plugin/ImageToolkit/ImagemagickToolkit.php, line 1068

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

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