protected function toDocuments(array $docs = array())
    {
        if (isset($docs['rows'])) {
            $rtn = array();

            foreach ($docs['rows'] as $row) {
                $rtn[] = $this->toDocument($row['value']);
            }

            return $rtn;
        } else {
            return array();
        }
    }
protected function toDocuments(array $docs = array())
    {
        if (isset($docs['rows'])) {
            $rtn = array();

            foreach ($docs['rows'] as $row) {
                $rtn[] = $this->toDocument($row['value']);
            }

            return $rtn;
        } else {
            return array();
        }
    }
protected function toDocuments ( array $ docs = array ( ) ) { if ( isset ( $ docs [ 'rows' ] ) ) { $ rtn = array ( ) ; foreach ( $ docs [ 'rows' ] as $ row ) { $ rtn [ ] = $ this -> toDocument ( $ row [ 'value' ] ) ; } return $ rtn ; } else { return array ( ) ; } }
Convert many CouchDb documents to Chill Document objects.

@param array $docs Documents to convert.
@return \Chill\Document[]
Convert many CouchDb documents to Chill Document objects .