_classMetadata->getDiscriminatorColumn(); //$discMap = $this->_classMetadata->getDiscriminatorMap(); $result[$discColumn['name']] = $this->_classMetadata->getDiscriminatorValue(); //array_search($this->_entityName, $discMap); } } /** * {@inheritdoc} */ /*public function getAllFieldMappingsInHierarchy() { $fieldMappings = $this->_classMetadata->getFieldMappings(); foreach ($this->_classMetadata->getSubclasses() as $subclassName) { $fieldMappings = array_merge( $fieldMappings, $this->_em->getClassMetadata($subclassName)->getFieldMappings() ); } return $fieldMappings; }*/ }