Ejemplo n.º 1
0
 /**
  * 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);
 }
Ejemplo n.º 3
0
 public function getPhpProcs()
 {
     return $this->dataSource->getPhpProcs($this->getSiteId(), $this->getEnv(), $this->getName());
 }
Ejemplo n.º 4
0
 public function getEnv($env)
 {
     return $this->dataSource->getEnv($this->getName(), $env);
 }
Ejemplo n.º 5
0
 public function purgeCache()
 {
     return $this->dataSource->purgeDomainCache($this->getSiteId(), $this->getEnv(), $this->getName());
 }