Exemplo n.º 1
0
 /**
  * Internal init block, called on class-inclusion
  * @return void
  */
 public static function staticConstruct()
 {
     self::$strAnnotationsCacheFile = _realpath_ . "/project/temp/reflection.cache";
     self::$arrAnnotationsCache = class_apc_cache::getInstance()->getValue("reflection");
     if (self::$arrAnnotationsCache == false) {
         self::$arrAnnotationsCache = array();
         if (is_file(self::$strAnnotationsCacheFile)) {
             self::$arrAnnotationsCache = unserialize(file_get_contents(self::$strAnnotationsCacheFile));
         }
     }
 }