private function parseProperties($docType = '') {
        $parents = $this->parents;
        foreach ($this->reflector->getProperties() as $refProp) {
            if (is_string($parents[$refProp->class]))
                $parents[$refProp->class] = array();
            $parents[$refProp->class][$refProp->name] = $this->parseDocComment($refProp->getDocComment(), $docType);
//            $parsed = $this->parseDocComment($refProp->getDocComment(), $docType);
//            if ($parsed)
//                $this->annotations['properties'][$refProp->name] = $parsed;
        }
        $this->annotations['properties'] = array();
        foreach ($parents as $array) {
            if (is_array($array))
                $this->annotations['properties'] = array_merge($this->annotations['properties'], $array);
        }
    }
private function parseProperties($docType = '') {
        $parents = $this->parents;
        foreach ($this->reflector->getProperties() as $refProp) {
            if (is_string($parents[$refProp->class]))
                $parents[$refProp->class] = array();
            $parents[$refProp->class][$refProp->name] = $this->parseDocComment($refProp->getDocComment(), $docType);
//            $parsed = $this->parseDocComment($refProp->getDocComment(), $docType);
//            if ($parsed)
//                $this->annotations['properties'][$refProp->name] = $parsed;
        }
        $this->annotations['properties'] = array();
        foreach ($parents as $array) {
            if (is_array($array))
                $this->annotations['properties'] = array_merge($this->annotations['properties'], $array);
        }
    }
private function parseProperties ( $ docType = '' ) { $ parents = $ this -> parents ; foreach ( $ this -> reflector -> getProperties ( ) as $ refProp ) { if ( is_string ( $ parents [ $ refProp -> class ] ) ) $ parents [ $ refProp -> class ] = array ( ) ; $ parents [ $ refProp -> class ] [ $ refProp -> name ] = $ this -> parseDocComment ( $ refProp -> getDocComment ( ) , $ docType ) ; //            $parsed = $this->parseDocComment($refProp->getDocComment(), $docType); //            if ($parsed) //                $this->annotations['properties'][$refProp->name] = $parsed; } $ this -> annotations [ 'properties' ] = array ( ) ; foreach ( $ parents as $ array ) { if ( is_array ( $ array ) ) $ this -> annotations [ 'properties' ] = array_merge ( $ this -> annotations [ 'properties' ] , $ array ) ; } }
parses annotations for properties only
parses annotations for properties only