PHP Class Disque\Command\Response\CursorResponse

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

Public Methods

Method Description
parse ( ) : array Parse response
setBody ( mixed $body ) : void Set response body

Protected Methods

Method Description
parseBody ( array $body ) : array Parse main body

Method Details

parse() public method

Parse response
public parse ( ) : array
return array Parsed response. Indexed array with `finished', 'nextCursor`, `queues`

parseBody() abstract protected method

Parse main body
abstract protected parseBody ( array $body ) : array
$body array Body
return array Parsed body

setBody() public method

Set response body
public setBody ( mixed $body ) : void
$body mixed Response body
return void