PHP 8.2.31
Preview: SubscriberError.php Size: 792 B
/home/nshryvcy/himaltourism.com/wp-content/plugins/mailpoet/lib/Mailer/SubscriberError.php

<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing

namespace MailPoet\Mailer;

if (!defined('ABSPATH')) exit;


class SubscriberError {

  /** @var string */
  private $email;

  /** @var string|null */
  private $message;

  /**
   * @param string $email
   * @param string $message|null
   */
  public function __construct(
    $email,
    $message = null
  ) {
    $this->email = $email;
    $this->message = $message;
  }

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

  /**
   * @return null|string
   */
  public function getMessage() {
    return $this->message;
  }

  public function __toString() {
    return $this->message ? $this->email . ': ' . $this->message : $this->email;
  }
}

Directory Contents

Dirs: 2 × Files: 7

Name Size Perms Modified Actions
Methods DIR
- drwxr-xr-x 2023-04-04 05:35:40
Edit Download
WordPress DIR
- drwxr-xr-x 2023-04-04 05:35:40
Edit Download
0 B lrw-r--r-- 2023-04-04 05:35:40
Edit Download
2.80 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download
2.39 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download
5.35 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download
12.62 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download
2.33 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download
792 B lrw-r--r-- 2023-04-04 05:35:40
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).