默认构造函数
public __construct ( $access_id = null, string $access_key = null, string $hostname = null ) | ||
$access_key | string | (Optional) |
$hostname | string | (Optional) |
public function __construct($ak, $sk, $host, $bucket, $ns = '', $cdn = '') { parent::__construct($ak, $sk, $host); $this->bucket = $bucket; $this->host = $host; $this->ns = $ns; $this->cdn = $cdn; }