public static function getAnnotationsForProperties()
 {
     $cls = self::DECOgetCalledClass();
     if (!array_key_exists($cls, self::$propertyAnnotations)) {
         self::$propertyAnnotations[$cls] = ann\AnnotationReader::getClassPropertiesAnnotations($cls);
     }
     return self::$propertyAnnotations[$cls];
 }
 public static function getAnnotationsForClass()
 {
     $cls = get_called_class();
     if (!array_key_exists($cls, self::$classAnnotations)) {
         self::$classAnnotations[$cls] = ann\AnnotationReader::getClassAnnotations($cls);
     }
     return self::$classAnnotations[$cls];
 }
Exemple #3
0
 public static function getTable()
 {
     $calledAs = get_called_class();
     if (!array_key_exists($calledAs, self::$table)) {
         self::$table[$calledAs] = ann\AnnotationReader::getObjectsTable($calledAs);
     }
     return self::$table[$calledAs];
 }