[ Index ]

MailPress 7.2

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

title

Body

[close]

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

   1  <?php
   2  
   3  /*
   4   * This file is part of SwiftMailer.
   5   * (c) 2004-2009 Chris Corbyn
   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   * Allows customization of Messages on-the-fly.
  13   *
  14   * @author Chris Corbyn
  15   */
  16  interface Swift_Plugins_Decorator_Replacements
  17  {
  18      /**
  19       * Return the array of replacements for $address.
  20       *
  21       * This method is invoked once for every single recipient of a message.
  22       *
  23       * If no replacements can be found, an empty value (NULL) should be returned
  24       * and no replacements will then be made on the message.
  25       *
  26       * @param string $address
  27       *
  28       * @return array
  29       */
  30      public function getReplacementsFor($address);
  31  }


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