1 | <?php |
||
14 | final class PersistentFop |
||
15 | { |
||
16 | /** |
||
17 | * @var 账号管理密钥对,Auth对象 |
||
18 | */ |
||
19 | private $auth; |
||
20 | |||
21 | /* |
||
22 | * @var 配置对象,Config 对象 |
||
23 | * */ |
||
24 | private $config; |
||
25 | |||
26 | |||
27 | 9 | public function __construct($auth, $config = null) |
|
36 | |||
37 | /** |
||
38 | * 对资源文件进行异步持久化处理 |
||
39 | * @param $bucket 资源所在空间 |
||
40 | * @param $key 待处理的源文件 |
||
41 | * @param $fops string|array 待处理的pfop操作,多个pfop操作以array的形式传入。 |
||
42 | * eg. avthumb/mp3/ab/192k, vframe/jpg/offset/7/w/480/h/360 |
||
43 | * @param $pipeline 资源处理队列 |
||
44 | * @param $notify_url 处理结果通知地址 |
||
45 | * @param $force 是否强制执行一次新的指令 |
||
46 | * |
||
47 | * |
||
48 | * @return array 返回持久化处理的persistentId, 和返回的错误。 |
||
49 | * |
||
50 | * @link http://developer.qiniu.com/docs/v6/api/reference/fop/ |
||
51 | */ |
||
52 | 9 | public function execute($bucket, $key, $fops, $pipeline = null, $notify_url = null, $force = false) |
|
79 | |||
80 | public function status($id) |
||
94 | } |
||
95 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..