\Qiniu\ProcessingOperation

Summary

Methods
Properties
Constants
__construct()
execute()
buildUrl()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$auth
$token_expire
$domain
N/A

Properties

$auth

$auth : 

Type

$token_expire

$token_expire : 

Type

$domain

$domain : 

Type

Methods

__construct()

__construct(  $domain,   $auth = null,   $token_expire = 3600) 

Parameters

$domain
$auth
$token_expire

execute()

execute(  $key,   $fops) : array

对资源文件进行处理

Parameters

$key

待处理的资源文件名

$fops

string|array fop操作,多次fop操作以array的形式传入。 eg. imageView2/1/w/200/h/200, imageMogr2/thumbnail/!75px

Returns

array —

文件处理后的结果及错误。

buildUrl()

buildUrl(  $key,   $fops,   $protocol = 'http') 

Parameters

$key
$fops
$protocol