StatsTubeCommand
extends AbstractCommand
in package
The 'stats-tube' command.
Gives statistical information about the specified tube if it exists.
Tags
Table of Contents
- $_tube : mixed
- __construct() : mixed
- __toString() : string
- The string representation of the object.
- getCommandLine() : mixed
- getData() : string
- The binary data to follow the command.
- getDataLength() : int
- The length of the binary data in bytes.
- getResponseParser() : ResponseParser
- The response parser for the command.
- hasData() : bool
- Whether the command is followed by data.
- _createResponse() : object
- Creates a Response for the given data.
Properties
$_tube
private
mixed
$_tube
Methods
__construct()
public
__construct(string $tube) : mixed
Parameters
- $tube : string
Return values
mixed —__toString()
The string representation of the object.
public
__toString() : string
Return values
string —getCommandLine()
public
getCommandLine() : mixed
Return values
mixed —getData()
The binary data to follow the command.
public
getData() : string
Return values
string —getDataLength()
The length of the binary data in bytes.
public
getDataLength() : int
Return values
int —getResponseParser()
The response parser for the command.
public
getResponseParser() : ResponseParser
Return values
ResponseParser —hasData()
Whether the command is followed by data.
public
hasData() : bool
Return values
bool —_createResponse()
Creates a Response for the given data.
protected
_createResponse(mixed $name[, mixed $data = array() ]) : object
Parameters
- $name : mixed
- $data : mixed = array()
Return values
object —Response