PHP Class OSS\Tests\Common

示例程序【Samples/*.php】 的Common类,用于获取OssClient实例和其他公用方法
显示文件 Open project: aliyun/aliyun-oss-php-sdk Class Usage Examples

Public Methods

Method Description
createBucket ( ) 工具方法,创建一个bucket
getBucketName ( )
getOssClient ( ) : OssClient 根据Config配置,得到一个OssClient实例
waitMetaSync ( ) Wait for bucket meta sync

Method Details

createBucket() public static method

工具方法,创建一个bucket
public static createBucket ( )

getBucketName() public static method

public static getBucketName ( )

getOssClient() public static method

根据Config配置,得到一个OssClient实例
public static getOssClient ( ) : OssClient
return OSS\OssClient 一个OssClient实例

waitMetaSync() public static method

Wait for bucket meta sync
public static waitMetaSync ( )