\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

$token_expire

$token_expire

$domain

$domain

Methods

__construct()

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

Parameters

mixed $domain
mixed $auth
mixed $token_expire

Returns

mixed —

execute()

execute(string  $key, string  $fops) : array

对资源文件进行处理

Parameters

string $key

待处理的资源文件名

string $fops

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

Returns

array —

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

buildUrl()

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

Parameters

mixed $key
mixed $fops
mixed $protocol

Returns

mixed —