protected function parseDocblocks($rawDocBlocks)
    {
        $parsedDocBlocks = array();
        $docBlockParser = new MarkdownParser();

        foreach ($rawDocBlocks as $docBlock) {
            $docBlock = preg_replace(self::REGEX_DOCBLOCK_TYPE, '$1$2 `$4` ', $docBlock);
            $docBlock = preg_replace(self::REGEX_DOCBLOCK_VAR, '$1`$2`', $docBlock);
            $docBlock = preg_replace(self::REGEX_DOCBLOCK_ARG, "\n<em class=\"docparam\">$1</em>", $docBlock);

            $parsedDocBlocks[] = $docBlockParser->transformMarkdown($docBlock);
        }

        return $parsedDocBlocks;
    }