public function getDiscriminatorMap()
    {
        $map = array();
        foreach ($this->blockManager->getValues() as $alias => $value) {
            $map[$alias] = $value->getEntity();
        }

        return $map;
    }
public function getDiscriminatorMap()
    {
        $map = array();
        foreach ($this->blockManager->getValues() as $alias => $value) {
            $map[$alias] = $value->getEntity();
        }

        return $map;
    }
public function getDiscriminatorMap ( ) { $ map = array ( ) ; foreach ( $ this -> blockManager -> getValues ( ) as $ alias => $ value ) { $ map [ $ alias ] = $ value -> getEntity ( ) ; } return $ map ; }
Transforms the registered blocks into a discriminatorMap

@return array
Transforms the registered blocks into a discriminatorMap