/** * @param AbstractBaseQuery $class * * @return string */ public static function writeQueryComment(AbstractBaseQuery $class) { $comment = ''; if ('' !== $class->getComment()) { $comment = $class->getComment(); } return $comment; }