Jamm\Memory\CouchbaseObject::getKeysOfTag PHP Method

getKeysOfTag() protected method

protected getKeysOfTag ( $tag )
    protected function getKeysOfTag($tag)
    {
        $data = $this->Couchbase->get($this->tag_prefix . $tag);
        if (empty($data)) {
            return false;
        }
        $keys = json_decode('[' . ltrim($data, ',') . ']');
        return $keys;
    }