You are here

public function Process::getTimeout in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Process.php \Symfony\Component\Process\Process::getTimeout()

Gets the process timeout (max. runtime).

Return value

float|null The timeout in seconds or null if it's disabled

File

vendor/symfony/process/Process.php, line 858

Class

Process
Process is a thin wrapper around proc_* functions to easily start independent PHP processes.

Namespace

Symfony\Component\Process

Code

public function getTimeout() {
  return $this->timeout;
}