src/mg/Ding/Reflection/ReflectionFactory.php
public function getClassAnnotations($class)
    {
        if (!$this->_withAnnotations) {
            return array();
        }
        if (isset($this->_annotatedClasses[$class])) {
            return $this->_annotatedClasses[$class];
        }
        $cacheKey = $class . '.classannotations';
        $result = false;
        $annotations = $this->_cache->fetch($cacheKey, $result);
        if ($result === true) {
            $this->_annotatedClasses[$class] = $annotations;
            return $annotations;
        }
        $this->_annotatedClasses[$class] = array();
        $rClass = $this->getClass($class);
        $annotations = $this->_annotationParser->parse($rClass->getDocComment());
        $this->_populateClassesPerAnnotations($class, $annotations);
        $this->_annotatedClasses[$class] = $annotations;
        $this->_cache->store($cacheKey, $annotations);
        return $annotations;
    }
public function getClassAnnotations($class)
    {
        if (!$this->_withAnnotations) {
            return array();
        }
        if (isset($this->_annotatedClasses[$class])) {
            return $this->_annotatedClasses[$class];
        }
        $cacheKey = $class . '.classannotations';
        $result = false;
        $annotations = $this->_cache->fetch($cacheKey, $result);
        if ($result === true) {
            $this->_annotatedClasses[$class] = $annotations;
            return $annotations;
        }
        $this->_annotatedClasses[$class] = array();
        $rClass = $this->getClass($class);
        $annotations = $this->_annotationParser->parse($rClass->getDocComment());
        $this->_populateClassesPerAnnotations($class, $annotations);
        $this->_annotatedClasses[$class] = $annotations;
        $this->_cache->store($cacheKey, $annotations);
        return $annotations;
    }
(non-PHPdoc)
@see Ding\Reflection.IReflectionFactory::getClassAnnotations()