/** * Implements \ArrayAccess::offsetGet(). * * @param mixed $offset * @return NULL|\Acquia\Platform\Cloud\Hosting\Site\SiteInterface */ public function offsetGet($offset) { if (isset($this->sites[$offset])) { if (!is_object($this->sites[$offset])) { $this->sites[$offset] = $this->dataSource->getSite($this->sites[$offset]); } return $this->sites[$offset]; } return NULL; }
public function installFromManifest($make_file) { return $this->dataSource->install($this->getSiteId(), $this->getName(), 'make_url', $make_file); }
public function getPhpProcs() { return $this->dataSource->getPhpProcs($this->getSiteId(), $this->getEnv(), $this->getName()); }
public function getEnv($env) { return $this->dataSource->getEnv($this->getName(), $env); }
public function purgeCache() { return $this->dataSource->purgeDomainCache($this->getSiteId(), $this->getEnv(), $this->getName()); }