protected static function mergeGroup($new, $old) { $new['prefix'] = self::formatGroupPrefix($new, $old); $new['class'] = self::formatGroupClass($new, $old); return array_merge(array_except($old, array('prefix', 'class')), $new); }