[ Index ]

MailPress 7.2

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

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer/ -> RecipientIterator.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   * Provides an abstract way of specifying recipients for batch sending.
  13   *
  14   * @author Chris Corbyn
  15   */
  16  interface Swift_Mailer_RecipientIterator
  17  {
  18      /**
  19       * Returns true only if there are more recipients to send to.
  20       *
  21       * @return bool
  22       */
  23      public function hasNext();
  24  
  25      /**
  26       * Returns an array where the keys are the addresses of recipients and the
  27       * values are the names. e.g. ('foo@bar' => 'Foo') or ('foo@bar' => NULL).
  28       *
  29       * @return array
  30       */
  31      public function nextRecipient();
  32  }


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