Snc\RedisBundle\Tests\Profiler\Storage\Mock\RedisMock::exists PHP Метод

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

Verify if the specified key exists.
public exists ( string $key ) : boolean
$key string
Результат boolean
    public function exists($key)
    {
        if (!$this->connected) {
            return false;
        }
        return isset($this->storage[$key]);
    }