private Process
$process;
private int
$timeoutType;
public function __construct(Process
$process, int
$timeoutType) { $this->process =
$process;
$this->timeoutType =
$timeoutType;
parent::
__construct(sprintf( 'The process "%s" exceeded the timeout of %s seconds.',
$process->
getCommandLine(),
$this->
getExceededTimeout() ));
} /**
* @return Process
*/
public function getProcess() { return $this->process;
}