getName() публичный Метод

Get fully-qualified class name of this persistent class.
public getName ( ) : string
Результат string
 public function transfuse(SearchMetadata $searchMeta)
 {
     $class = $this->entityManager->getClassMetadata($searchMeta->getName());
     $repository = $this->entityManager->getRepository($searchMeta->getName());
     $this->createAndUpdate($class, $repository);
     $this->dropOld($class, $repository);
 }
Пример #2
0
 public function testGetName()
 {
     $this->assertEquals('Doctrine\\Tests\\Models\\Blog\\BlogPost', $this->classMetadata->getName());
 }