public function setTimeout(float $seconds): self
    {
        $this->validateTimeout($seconds);
        $this->timeout = $seconds;

        return $this;
    }
public function setTimeout(float $seconds): self
    {
        $this->validateTimeout($seconds);
        $this->timeout = $seconds;

        return $this;
    }
public function setTimeout ( float $ seconds ) : self { $ this -> validateTimeout ( $ seconds ) ; $ this -> timeout = $ seconds ; return $ this ; }
Set write timeout. Only has effect before we connect.

@see http://php.net/manual/en/function.stream-set-timeout.php
Set write timeout . Only has effect before we connect .