PHP Class Disque\Command\JScan

Inheritance: extends BaseCommand, implements Disque\Command\CommandInterface, use trait Disque\Command\Argument\ArrayChecker, use trait Disque\Command\Argument\OptionChecker
Show file Open project: mariano/disque-php

Protected Properties

Property Type Description
$availableArguments array Available command arguments, and their mapping to options
$options array Available command options
$responseHandler integer Tells which class handles the response

Public Methods

Method Description
getCommand ( ) : string Get command
setArguments ( array $arguments ) Set arguments for the command

Method Details

getCommand() public method

Get command
public getCommand ( ) : string
return string Command

setArguments() public method

Set arguments for the command
public setArguments ( array $arguments )
$arguments array Arguments

Property Details

$availableArguments protected property

Available command arguments, and their mapping to options
protected array $availableArguments
return array

$options protected property

Available command options
protected array $options
return array

$responseHandler protected property

Tells which class handles the response
protected int $responseHandler
return integer