/**
  * get the comment of this object (without the hints for the exporter)
  *
  * @param boolean $asPhpComment add * infront of the lines and indent according to current indentation level
  * @return string
  */
 protected function getComment($asPhpComment = true)
 {
     $comment = $this->parameters->get('comment');
     // strip hints for mysql-exporter in comments (starting with {d:keyword}
     // or {doctrine:keyword} and ending with {/d:keyword}
     if ($comment = trim(preg_replace(sprintf('/\\{(%s):([^\\}]+)\\}(.+?)\\{\\/\\1:\\2\\}/si', $this->getFormatter()->getCommentTagPrefix()), '', $comment))) {
         if ($asPhpComment) {
             $comment = implode("\n", Comment::wrap($comment . "\n", ' * %s'));
         }
         return $comment;
     }
 }
 /**
  * Get comment.
  *
  * @param string $format  Comment wrapper format
  * @return string
  */
 public function getComment($format)
 {
     return implode("\n", Comment::wrap(strtr($this->getCommentFormat(), $this->getCommentVars()), $format));
 }