/** * 获取bucketName * @return null|string */ public function bucket() { if ($this->bucket) { return $this->bucket->bucketName(); } else { return null; } }