PHP Class Disque\Command\Response\JobsResponse

Inheritance: extends Disque\Command\Response\BaseResponse, implements Disque\Command\Response\ResponseInterface, use trait Disque\Command\Argument\ArrayChecker
Show file Open project: mariano/disque-php

Protected Properties

Property Type Description
$jobDetails array The values in this array must follow these rules: - The number of the values must be the same as the number of rows returned from the respective Disque command - The order of the values must follow the rows returned by Disque The values in $jobDetails will be used as keys in the final response the command returns.

Public Methods

Method Description
__construct ( )
parse ( )
setBody ( $body )

Method Details

__construct() public method

public __construct ( )

parse() public method

public parse ( )

setBody() public method

public setBody ( $body )

Property Details

$jobDetails protected property

The values in this array must follow these rules: - The number of the values must be the same as the number of rows returned from the respective Disque command - The order of the values must follow the rows returned by Disque The values in $jobDetails will be used as keys in the final response the command returns.
See also: self::parse()
protected array $jobDetails
return array