PHP Class zgldh\QiniuStorage\QiniuUrl

Inheritance: implements JsonSerializabl\JsonSerializable
Show file Open project: zgldh/qiniu-laravel-storage

Public Methods

Method Description
__construct ( $url )
__toString ( )
getDownload ( ) : null
getParameter ( $name ) : array
getParameters ( ) : array
getUrl ( ) : null
jsonSerialize ( ) : mixed Specify data which should be serialized to JSON
setDownload ( null $download )
setParameter ( $name, $value )
setUrl ( null $url )

Method Details

__construct() public method

public __construct ( $url )

__toString() public method

public __toString ( )

getDownload() public method

public getDownload ( ) : null
return null

getParameter() public method

public getParameter ( $name ) : array
return array

getParameters() public method

public getParameters ( ) : array
return array

getUrl() public method

public getUrl ( ) : null
return null

jsonSerialize() public method

Specify data which should be serialized to JSON
public jsonSerialize ( ) : mixed
return mixed data which can be serialized by json_encode, which is a value of any type other than a resource.

setDownload() public method

public setDownload ( null $download )
$download null

setParameter() public method

public setParameter ( $name, $value )

setUrl() public method

public setUrl ( null $url )
$url null