예제 #1
0
 /**
  * @depends testHeadBucket
  * @expectedException \Aws\S3\Exception\NoSuchWebsiteConfigurationException
  */
 public function testGetBucketWebsite()
 {
     $this->log(__METHOD__);
     $this->client->getBucketWebsite(array('Bucket' => $this->bucket));
 }
예제 #2
0
파일: Bucket.php 프로젝트: m6web/aws-bundle
 /**
  * getWebsite
  *
  * @return \Guzzle\Service\Resource\Model
  */
 public function getWebsite()
 {
     return $this->client->getBucketWebsite(['Bucket' => $this->name]);
 }