PHP Class Protocol, statistics

显示文件 Open project: smalleyes/statistics Class Usage Examples

Public Methods

Method Description
decode ( $buffer ) 解码
encode ( string $module, string $interface, float $cost_time, integer $success, integer $code, string $msg = '' ) : string 编码

Method Details

decode() public static method

解码
public static decode ( $buffer )

encode() public static method

编码
public static encode ( string $module, string $interface, float $cost_time, integer $success, integer $code, string $msg = '' ) : string
$module string
$interface string
$cost_time float
$success integer
$code integer
$msg string
return string