private function getMethodAnnotations($refClass, $method = '__construct')
    {
        $refMethod = $refClass->getMethod($method);
        preg_match_all('#@(.*?)\n#s', $refMethod->getDocComment(), $matches);

        return $matches[1];
    }
private function getMethodAnnotations($refClass, $method = '__construct')
    {
        $refMethod = $refClass->getMethod($method);
        preg_match_all('#@(.*?)\n#s', $refMethod->getDocComment(), $matches);

        return $matches[1];
    }
private function getMethodAnnotations ( $ refClass , $ method = '__construct' ) { $ refMethod = $ refClass -> getMethod ( $ method ) ; preg_match_all ( '#@(.*?)\n#s' , $ refMethod -> getDocComment ( ) , $ matches ) ; return $ matches [ 1 ] ; }
Returns a array with the method annotations

@return array array annotations
Returns a array with the method annotations