MOON
Server: Apache
System: Linux server.netcommlabs.in 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: dermova (1051)
PHP: 5.4.45
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/dermova/www/india/wp-content/plugins/mailchimp-for-wp/includes/forms/class-form-message.php
<?php

/**
 * Class MC4WP_Form_Message
 *
 * @ignore
 * @access private
 */
class MC4WP_Form_Message {

	/**
	 * @var string
	 */
	public $type = 'error';

	/**
	 * @var
	 */
	public $text;

	/**
	 * @param string $text
	 * @param string $type
	 */
	public function __construct( $text, $type = 'error' ) {
		$this->text = $text;

		if( ! empty( $type ) ) {
			$this->type = $type;
		}
	}

	/**
	 * @return string
	 */
	public function __toString() {
		return $this->text;
	}

}