Predis\ClientInterface::createCommand PHP Метод

createCommand() публичный Метод

Creates a new instance of the specified Redis command.
public createCommand ( string $method, array $arguments = [] ) : Predis\Command\CommandInterface
$method string Command ID.
$arguments array Arguments for the command.
Результат Predis\Command\CommandInterface
    public function createCommand($method, $arguments = array());