OSS\Tests\Common::getBucketName PHP Méthode

getBucketName() public static méthode

public static getBucketName ( )
    public static function getBucketName()
    {
        return getenv('OSS_BUCKET');
    }

Usage Example

 public function setUp()
 {
     $this->bucket = Common::getBucketName() . rand(100000, 999999);
     $this->ossClient = Common::getOssClient();
     $this->ossClient->createBucket($this->bucket);
     Common::waitMetaSync();
 }
All Usage Examples Of OSS\Tests\Common::getBucketName