예제 #1
0
파일: Entity.php 프로젝트: bigwhoop/hynage
 /**
  * Return the entity's persister name defined by the '@HynagePersister' annotation.
  *
  * @return string
  */
 public static function getPersisterName()
 {
     $reflectionClass = new ReflectionClass(static::getClassNameOfEntityDefinition());
     return $reflectionClass->getAnnotation('HynagePersister');
 }