public function findAll($limit = null, $startKey = null)
    {
        $path = "/{$this->name}/_all_docs?include_docs=true";

        if (null !== $limit) {
            $path .= '&limit='.(integer) $limit;
        }
        if (null !== $startKey) {
            $path .= '&startkey='.(string) $startKey;
        }

        $json = (string) $this->client->request('GET', $path)->getBody();
        $docs = JSONEncoder::decode($json);

        return $docs;
    }