/** * @param MappingA $oMap */ protected function mergeResources($oMap) { $aLocalResources = $this->getResources(); $aParentResources = $oMap->getResources(); $aResources = array_merge($aLocalResources, $aParentResources); // maybe I should merge the regexes too like processor_regex . '.*' . controller_regex $this->aResources = $aResources; }