You are here

public function AcquiaPurgeService::hostingInfo in Acquia Purge 7

Retrieve the hosting info object.

Return value

AcquiaPurgeHostingInfo The hosting info object.

File

lib/AcquiaPurgeService.php, line 330
Contains AcquiaPurgeService.

Class

AcquiaPurgeService
The Acquia Purge service.

Code

public function hostingInfo() {
  if (is_null($this->hostingInfo)) {
    $class = _acquia_purge_load('_acquia_purge_hosting_info');
    $this->hostingInfo = new $class();
  }
  return $this->hostingInfo;
}