PHP Class Protocol\FCGI\Record\Params

Inheritance: extends Protocol\FCGI\Record
显示文件 Open project: lisachenko/protocol-fcgi Class Usage Examples

Protected Properties

Property Type Description
$values array List of params

Public Methods

Method Description
__construct ( array $values = [] ) Constructs a param request
getValues ( ) : array Returns an associative list of parameters

Protected Methods

Method Description
packPayload ( ) : string Implementation of packing the payload
unpackPayload ( Record $self, string $data ) : Record Method to unpack the payload for the record

Method Details

__construct() public method

Constructs a param request
public __construct ( array $values = [] )
$values array

getValues() public method

Returns an associative list of parameters
public getValues ( ) : array
return array

packPayload() protected method

Implementation of packing the payload
protected packPayload ( ) : string
return string

unpackPayload() protected static method

Method to unpack the payload for the record
protected static unpackPayload ( Record $self, string $data ) : Record
$self Protocol\FCGI\Record Instance of current frame
$data string Binary data
return Protocol\FCGI\Record

Property Details

$values protected_oe property

List of params
protected array $values
return array