Property | Type | Description | |
---|---|---|---|
$commands | |||
$processor |
Method | Description | |
---|---|---|
createCommand ( $commandID, array $arguments = [] ) | ||
defineCommand ( string $commandID, string $class ) | Defines a new command in the factory. | |
getCommandClass ( string $commandID ) : string | null | Returns the FQN of a class that represents the specified command ID. | |
getProcessor ( ) | ||
setProcessor ( Predis\Command\Processor\ProcessorInterface $processor = null ) | ||
supportsCommand ( $commandID ) | ||
supportsCommands ( array $commandIDs ) |
public createCommand ( $commandID, array $arguments = [] ) | ||
$arguments | array |
public defineCommand ( string $commandID, string $class ) | ||
$commandID | string | Command ID. |
$class | string | Fully-qualified name of a Predis\Command\CommandInterface. |
public setProcessor ( Predis\Command\Processor\ProcessorInterface $processor = null ) | ||
$processor | Predis\Command\Processor\ProcessorInterface |