Example #1
0
 /**
  * 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');
 }