You are here

public function AcquiaPurgeExecutorRequest::__construct in Acquia Purge 7

Constructs a HTTP request object.

Parameters

string $uri: The URL to connect to, e.g.: http://domain.com/path/a/b/c

Overrides AcquiaPurgeExecutorRequestInterface::__construct

File

lib/executor/AcquiaPurgeExecutorRequest.php, line 74

Class

AcquiaPurgeExecutorRequest
Provides a single HTTP request.

Code

public function __construct($uri = NULL) {
  if (!is_null($uri)) {
    $this->uri = $uri;
  }
}