final protected function parseDocComment($docComment, $docType = '') {
        if (empty($docComment) || !is_string($docComment))
            return array();

        $annotations = array();
        $match = '#@' . stripslashes($docType) . '(.*?)\n#s';
        preg_match_all($match, $docComment, $annotations);
        return $annotations[1];
    }
final protected function parseDocComment($docComment, $docType = '') {
        if (empty($docComment) || !is_string($docComment))
            return array();

        $annotations = array();
        $match = '#@' . stripslashes($docType) . '(.*?)\n#s';
        preg_match_all($match, $docComment, $annotations);
        return $annotations[1];
    }
final protected function parseDocComment ( $ docComment , $ docType = '' ) { if ( empty ( $ docComment ) || ! is_string ( $ docComment ) ) return array ( ) ; $ annotations = array ( ) ; $ match = '#@' . stripslashes ( $ docType ) . '(.*?)\n#s' ; preg_match_all ( $ match , $ docComment , $ annotations ) ; return $ annotations [ 1 ] ; }
Parses the given docComment
@param string $docComment The documentation to parse
@param string $docType The type of documentation to parse e.g. param, see, link
@return string|array
Parses the given docComment