Scalr\Service\Aws\S3\DataType\BucketData::setWebsite PHP Метод

setWebsite() публичный Метод

This implementation of the PUT operation uses the website subresource to set the request website configuration of a bucket.
public setWebsite ( string $website ) : boolean
$website string A XML Document which defines configuration
Результат boolean Returns true on succes or false if failure.
    public function setWebsite($website)
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getS3()->bucket->setWebsite($this->bucketName, $website);
    }