Screen\Capture::setTimeout PHP 메소드

setTimeout() 공개 메소드

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