protected function toTableRow(array $doc)
    {
        $result = isset($doc['value']) ? $doc['value'] : [];
        if (isset($result[_IMPACT_INDEX])) {
            unset($result[_IMPACT_INDEX]);
        }
        return $result;
    }
protected function toTableRow(array $doc)
    {
        $result = isset($doc['value']) ? $doc['value'] : [];
        if (isset($result[_IMPACT_INDEX])) {
            unset($result[_IMPACT_INDEX]);
        }
        return $result;
    }
protected function toTableRow ( array $ doc ) { $ result = isset ( $ doc [ 'value' ] ) ? $ doc [ 'value' ] : [ ] ; if ( isset ( $ result [ _IMPACT_INDEX ] ) ) { unset ( $ result [ _IMPACT_INDEX ] ) ; } return $ result ; }
Models the table row from the source data

@param array $doc Database document
@return array
Models the table row from the source data