public function getEntityStatus()
    {
        $info = [];
        $entityClassNames = $this->entityManager->getConfiguration()->getMetadataDriverImpl()->getAllClassNames();
        foreach ($entityClassNames as $entityClassName) {
            try {
                $info[$entityClassName] = $this->entityManager->getClassMetadata($entityClassName);
            } catch (MappingException $e) {
                $info[$entityClassName] = $e->getMessage();
            }
        }

        return $info;
    }
public function getEntityStatus()
    {
        $info = [];
        $entityClassNames = $this->entityManager->getConfiguration()->getMetadataDriverImpl()->getAllClassNames();
        foreach ($entityClassNames as $entityClassName) {
            try {
                $info[$entityClassName] = $this->entityManager->getClassMetadata($entityClassName);
            } catch (MappingException $e) {
                $info[$entityClassName] = $e->getMessage();
            }
        }

        return $info;
    }
public function getEntityStatus ( ) { $ info = [ ] ; $ entityClassNames = $ this -> entityManager -> getConfiguration ( ) -> getMetadataDriverImpl ( ) -> getAllClassNames ( ) ; foreach ( $ entityClassNames as $ entityClassName ) { try { $ info [ $ entityClassName ] = $ this -> entityManager -> getClassMetadata ( $ entityClassName ) ; } catch ( MappingException $ e ) { $ info [ $ entityClassName ] = $ e -> getMessage ( ) ; } } return $ info ; }
Returns information about which entities exist and possibly if their
mapping information contains errors or not.

@return array
@throws \Doctrine\ORM\ORMException
Returns information about which entities exist and possibly if their mapping information contains errors or not .