[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ -> AddressEncoderException.php (source)

   1  <?php
   2  
   3  /*
   4   * This file is part of SwiftMailer.
   5   * (c) 2018 Christian Schmidt
   6   *
   7   * For the full copyright and license information, please view the LICENSE
   8   * file that was distributed with this source code.
   9   */
  10  
  11  /**
  12   * AddressEncoderException when the specified email address is in a format that
  13   * cannot be encoded by a given address encoder.
  14   *
  15   * @author Christian Schmidt
  16   */
  17  class Swift_AddressEncoderException extends Swift_RfcComplianceException
  18  {
  19      protected $address;
  20  
  21      public function __construct(string $message, string $address)
  22      {
  23          parent::__construct($message);
  24  
  25          $this->address = $address;
  26      }
  27  
  28      public function getAddress(): string
  29      {
  30          return $this->address;
  31      }
  32  }


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1