<?php

namespace Velis\Redis;

/**
 * @author Jan Małysiak <jan.malysiak@velis.pl>
 */
class NoopClient implements RedisClientInterface
{
    /**
     * {@inheritDoc}
     */
    public function connect(string $host, int $port = 6379): bool
    {
        return false;
    }

    /**
     * {@inheritDoc}
     */
    public function publish(string $channel, string $message): int
    {
        return 0;
    }
}
