Screen\Capture::setTimeout PHP Method

setTimeout() public method

Sets the timeout period
public setTimeout ( integer $timeout ) : Capture
$timeout integer Timeout period
return Capture
    public function setTimeout($timeout)
    {
        if (!is_numeric($timeout)) {
            throw new InvalidArgumentException('The timeout value must be a number.');
        }
        $this->timeout = $timeout;
        return $this;
    }