HEX
Server: LiteSpeed
System: Linux server53.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User: nahevttf (6494)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/nahevttf/www/wp-content/plugins/mailchimp-for-wp/includes/forms/class-form-message.php
<?php

/**
 * Class MC4WP_Form_Notice
 *
 * @ignore
 * @access private
 */
class MC4WP_Form_Notice
{
    /**
     * @var string
     */
    public $type = 'error';

    /**
     * @var string
     */
    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;
    }
}