You are here

public function ImagemagickExecArguments::setSource in ImageMagick 8.3

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

Sets the path of the source image file.

Parameters

string $source: The source path of the image file.

Return value

$this

File

src/ImagemagickExecArguments.php, line 232

Class

ImagemagickExecArguments
Stores arguments for execution of ImageMagick/GraphicsMagick commands.

Namespace

Drupal\imagemagick

Code

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