You are here

public function ImagemagickExecArguments::setDestination in ImageMagick 8.3

Same name and namespace in other branches
  1. 8.2 src/ImagemagickExecArguments.php \Drupal\imagemagick\ImagemagickExecArguments::setDestination()

Sets the image destination URI/path on saving.

Parameters

string $destination: The image destination URI/path.

Return value

$this

File

src/ImagemagickExecArguments.php, line 342

Class

ImagemagickExecArguments
Stores arguments for execution of ImageMagick/GraphicsMagick commands.

Namespace

Drupal\imagemagick

Code

public function setDestination(string $destination) : ImagemagickExecArguments {
  $this->destination = $destination;
  return $this;
}