public function ImagemagickExecArguments::remove in ImageMagick 8.3
Same name and namespace in other branches
- 8.2 src/ImagemagickExecArguments.php \Drupal\imagemagick\ImagemagickExecArguments::remove()
Removes a command line argument.
Parameters
int $index: The index of the command line argument to be removed.
Return value
$this
File
- src/
ImagemagickExecArguments.php, line 207
Class
- ImagemagickExecArguments
- Stores arguments for execution of ImageMagick/GraphicsMagick commands.
Namespace
Drupal\imagemagickCode
public function remove(int $index) : ImagemagickExecArguments {
if (isset($this->arguments[$index])) {
unset($this->arguments[$index]);
}
return $this;
}