You are here

public function ImagemagickExecArguments::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 sring of command line arguments.

Deprecated

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

See also

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

File

src/ImagemagickExecArguments.php, line 149

Class

ImagemagickExecArguments
Stores arguments for execution of ImageMagick/GraphicsMagick commands.

Namespace

Drupal\imagemagick

Code

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