You are here

public function ImagemagickExecArguments::setSource in ImageMagick 8.2

Same name and namespace in other branches
  1. 8.3 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 404

Class

ImagemagickExecArguments
Stores arguments for execution of ImageMagick/GraphicsMagick commands.

Namespace

Drupal\imagemagick

Code

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