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

        foreach ($this->configurations as $configuration) {
            if (null !== $parentId = $configuration->getParentId()) {
                $map[$configuration->getResourceId()] = $parentId;
            }
        }

        ksort($map);

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

        foreach ($this->configurations as $configuration) {
            if (null !== $parentId = $configuration->getParentId()) {
                $map[$configuration->getResourceId()] = $parentId;
            }
        }

        ksort($map);

        return $map;
    }
private function buildParentMap ( ) { $ map = [ ] ; foreach ( $ this -> configurations as $ configuration ) { if ( null !== $ parentId = $ configuration -> getParentId ( ) ) { $ map [ $ configuration -> getResourceId ( ) ] = $ parentId ; } } ksort ( $ map ) ; return $ map ; }
Builds the parent map.

@return array
Builds the parent map .