for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Qiniu;
use Qiniu\Zone;
final class Config
{
const SDK_VER = '7.0.8';
const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改
const RS_HOST = 'http://rs.qbox.me'; // 文件元信息管理操作Host
const RSF_HOST = 'http://rsf.qbox.me'; // 列举操作Host
const API_HOST = 'http://api.qiniu.com'; // 数据处理操作Host
const UC_HOST = 'http://uc.qbox.me'; // Host
public $zone;
public function __construct(Zone $z = null) // 构造函数,默认为zone0
$z
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
// if ($z === null) {
$this->zone = new Zone();
// }
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.