private function buildEventPriorityMap()
    {
        $map = [];

        foreach ($this->configurations as $configuration) {
            if (0 != $priority = $configuration->getEventPriority()) {
                $map[$configuration->getResourceId()] = $priority;
            }
        }

        ksort($map);

        return $map;
    }
private function buildEventPriorityMap()
    {
        $map = [];

        foreach ($this->configurations as $configuration) {
            if (0 != $priority = $configuration->getEventPriority()) {
                $map[$configuration->getResourceId()] = $priority;
            }
        }

        ksort($map);

        return $map;
    }
private function buildEventPriorityMap ( ) { $ map = [ ] ; foreach ( $ this -> configurations as $ configuration ) { if ( 0 != $ priority = $ configuration -> getEventPriority ( ) ) { $ map [ $ configuration -> getResourceId ( ) ] = $ priority ; } } ksort ( $ map ) ; return $ map ; }
Builds the event priority map.

@return array
Builds the event priority map .