예제 #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);
 }
예제 #3
0
 public function getPhpProcs()
 {
     return $this->dataSource->getPhpProcs($this->getSiteId(), $this->getEnv(), $this->getName());
 }
예제 #4
0
 public function getEnv($env)
 {
     return $this->dataSource->getEnv($this->getName(), $env);
 }
예제 #5
0
 public function purgeCache()
 {
     return $this->dataSource->purgeDomainCache($this->getSiteId(), $this->getEnv(), $this->getName());
 }