public function ImagemagickExecArguments::remove in ImageMagick 8.2
Same name and namespace in other branches
- 8.3 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
1 call to ImagemagickExecArguments::remove()
- ImagemagickExecArguments::removeArgument in src/
ImagemagickExecArguments.php - Removes a command line argument.
File
- src/
ImagemagickExecArguments.php, line 350
Class
- ImagemagickExecArguments
- Stores arguments for execution of ImageMagick/GraphicsMagick commands.
Namespace
Drupal\imagemagickCode
public function remove($index) {
if (isset($this->arguments[$index])) {
unset($this->arguments[$index]);
}
return $this;
}