src/Support/Web/WebRequest.php
/**
     * Returns a new `WebRequest` instance with the same settings as the current instance.
     *
     * @return WebRequest
     */
Returns a new `WebRequest` instance with the same settings as the current instance.
Returns a new ` WebRequest ` instance with the same settings as the current instance .
public function copy() {
        $request = new WebRequest($this->uri);
        $request->setOptions($this->options);
        $request->setUserAgent($this->userAgent);
        $request->setReferer($this->referer);
        return $request;
    }
public function copy ( ) { $ request = new WebRequest ( $ this -> uri ) ; $ request -> setOptions ( $ this -> options ) ; $ request -> setUserAgent ( $ this -> userAgent ) ; $ request -> setReferer ( $ this -> referer ) ; return $ request ; }
Returns a new `WebRequest` instance with the same settings as the current instance.
Returns a new ` WebRequest ` instance with the same settings as the current instance .