protected function mergeEntity(array $entity, array $attr)
    {
        return array_merge($entity, $attr, array(EntityStatus::MEMBER_NAME => EntityStatus::STATUS_UPDATE));
    }
protected function mergeEntity(array $entity, array $attr)
    {
        return array_merge($entity, $attr, array(EntityStatus::MEMBER_NAME => EntityStatus::STATUS_UPDATE));
    }
protected function mergeEntity ( array $ entity , array $ attr ) { return array_merge ( $ entity , $ attr , array ( EntityStatus :: MEMBER_NAME => EntityStatus :: STATUS_UPDATE ) ) ; }
Merge's and return's the entity with the passed attributes and set's the
status to 'update'.

@param array $entity The entity to merge the attributes into
@param array $attr   The attributes to be merged

@return array The merged entity
Merge s and return s the entity with the passed attributes and set s the status to update .