public function ImagemagickExecManager::setTimeout in ImageMagick 8.3
Same name and namespace in other branches
- 8.2 src/ImagemagickExecManager.php \Drupal\imagemagick\ImagemagickExecManager::setTimeout()
Sets the execution timeout (max. runtime).
To disable the timeout, set this value to null.
Parameters
int|null $timeout: The timeout in seconds.
Return value
$this
Overrides ImagemagickExecManagerInterface::setTimeout
File
- src/
ImagemagickExecManager.php, line 117
Class
- ImagemagickExecManager
- Manage execution of ImageMagick/GraphicsMagick commands.
Namespace
Drupal\imagemagickCode
public function setTimeout(int $timeout) : ImagemagickExecManagerInterface {
$this->timeout = $timeout;
return $this;
}