Пример #1
0
 /**
  * @static
  *
  * @param $reflection
  *
  * @return bool
  */
 public static function getDocComment($reflection)
 {
     if (self::checkRawDocCommentParsingNeeded()) {
         $docComment = new RokCommon_Reflection_DocComment();
         return $docComment->get($reflection);
     } else {
         return $reflection->getDocComment();
     }
 }
Пример #2
0
 /**
  * @static
  *
  */
 public static function clearCache()
 {
     self::$classes = array();
     self::$methods = array();
     self::$fields = array();
     self::$parsedFiles = array();
 }