Predis\Profile\ProfileInterface::createCommand PHP Method

createCommand() public method

Creates a new command instance.
public createCommand ( string $commandID, array $arguments = [] ) : Predis\Command\CommandInterface
$commandID string Command ID.
$arguments array Arguments for the command.
return Predis\Command\CommandInterface
    public function createCommand($commandID, array $arguments = array());