protected function _mergePropertyData($current, $parent, $isAssoc)
    {
        if (!$isAssoc) {
            return array_merge($parent, $current);
        }
        $parent = Hash::normalize($parent);
        foreach ($parent as $key => $value) {
            if (!isset($current[$key])) {
                $current[$key] = $value;
            }
        }

        return $current;
    }
protected function _mergePropertyData($current, $parent, $isAssoc)
    {
        if (!$isAssoc) {
            return array_merge($parent, $current);
        }
        $parent = Hash::normalize($parent);
        foreach ($parent as $key => $value) {
            if (!isset($current[$key])) {
                $current[$key] = $value;
            }
        }

        return $current;
    }
protected function _mergePropertyData ( $ current , $ parent , $ isAssoc ) { if ( ! $ isAssoc ) { return array_merge ( $ parent , $ current ) ; } $ parent = Hash :: normalize ( $ parent ) ; foreach ( $ parent as $ key => $ value ) { if ( ! isset ( $ current [ $ key ] ) ) { $ current [ $ key ] = $ value ; } } return $ current ; }
Merge each of the keys in a property together.

@param array $current The current merged value.
@param array $parent The parent class' value.
@param bool $isAssoc Whether or not the merging should be done in associative mode.
@return mixed The updated value.
Merge each of the keys in a property together .