private function getDocDescription($comment)
    {
        $result = null;
        if (preg_match('/\*\s+([^@]*)\s+/s', $comment, $matches)) {
            $result = str_replace('*', "\n", trim(trim($matches[1], '*')));
        }

        return $result;
    }
private function getDocDescription($comment)
    {
        $result = null;
        if (preg_match('/\*\s+([^@]*)\s+/s', $comment, $matches)) {
            $result = str_replace('*', "\n", trim(trim($matches[1], '*')));
        }

        return $result;
    }
private function getDocDescription ( $ comment ) { $ result = null ; if ( preg_match ( '/\*\s+([^@]*)\s+/s' , $ comment , $ matches ) ) { $ result = str_replace ( '*' , "\n" , trim ( trim ( $ matches [ 1 ] , '*' ) ) ) ; } return $ result ; }
Get Doc Comment
@param $comment
@return string|null
Get Doc Comment