You are here

public function ImagemagickExecManagerInterface::setTimeout in ImageMagick 8.3

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

1 method overrides ImagemagickExecManagerInterface::setTimeout()
ImagemagickExecManager::setTimeout in src/ImagemagickExecManager.php
Sets the execution timeout (max. runtime).

File

src/ImagemagickExecManagerInterface.php, line 28

Class

ImagemagickExecManagerInterface
Provides an interface for ImageMagick execution managers.

Namespace

Drupal\imagemagick

Code

public function setTimeout(int $timeout) : ImagemagickExecManagerInterface;