function ProcessExecutor::setTimeout
Parameters
int $timeout the timeout in seconds:
3 calls to ProcessExecutor::setTimeout()
- BaseIO::loadConfiguration in vendor/
composer/ composer/ src/ Composer/ IO/ BaseIO.php - @inheritDoc
- Config::disableProcessTimeout in vendor/
composer/ composer/ src/ Composer/ Config.php - Used by long-running custom scripts in composer.json
- RunScriptCommand::execute in vendor/
composer/ composer/ src/ Composer/ Command/ RunScriptCommand.php - Executes the current command.
File
-
vendor/
composer/ composer/ src/ Composer/ Util/ ProcessExecutor.php, line 453
Class
- ProcessExecutor
- @author Robert Schönthal <seroscho@googlemail.com> @author Jordi Boggiano <j.boggiano@seld.be>
Namespace
Composer\UtilCode
public static function setTimeout(int $timeout) : void {
static::$timeout = $timeout;
}