public function setCors($cors) { $this->throwExceptionIfNotInitialized(); return $this->getS3()->bucket->setCors($this->bucketName, $cors); }