protected function from_db_records(array $results) {
        $entityfactory = $this->get_entity_factory();
        $records = array_map(function($result) {
            return $result['record'];
        }, $results);

        return $entityfactory->get_post_read_receipt_collection_from_stdclasses($records);
    }
protected function from_db_records(array $results) {
        $entityfactory = $this->get_entity_factory();
        $records = array_map(function($result) {
            return $result['record'];
        }, $results);

        return $entityfactory->get_post_read_receipt_collection_from_stdclasses($records);
    }
protected function from_db_records ( array $ results ) { $ entityfactory = $ this -> get_entity_factory ( ) ; $ records = array_map ( function ( $ result ) { return $ result [ 'record' ] ; } , $ results ) ; return $ entityfactory -> get_post_read_receipt_collection_from_stdclasses ( $ records ) ; }
Convert the DB records into post_read_receipt_collection entities.

@param array $results The DB records
@return post_read_receipt_collection
Convert the DB records into post_read_receipt_collection entities .