public function getModelName(string $key): string
    {
        $this->checkMappingExistence($key, true);

        /** @var ClassMetadata */
        $classMetadata = $this->getClassMetadataByKey($key);

        return $classMetadata->getModelName();
    }
public function getModelName(string $key): string
    {
        $this->checkMappingExistence($key, true);

        /** @var ClassMetadata */
        $classMetadata = $this->getClassMetadataByKey($key);

        return $classMetadata->getModelName();
    }
public function getModelName ( string $ key ) : string { $ this -> checkMappingExistence ( $ key , true ) ; /** @var ClassMetadata */ $ classMetadata = $ this -> getClassMetadataByKey ( $ key ) ; return $ classMetadata -> getModelName ( ) ; }
return a model class name for a given key
return a model class name for a given key