HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: graficav (1037)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/graficav/holatimbres.cl/tools/swift/Swift/Iterator.php
<?php

/**
 * Swift Mailer Iterator Interface
 * Please read the LICENSE file
 * @author Chris Corbyn <chris@w3style.co.uk>
 * @package Swift
 * @license GNU Lesser General Public License
 */

/**
 * Swift Iterator Interface
 * Provides the interface for iterators used for retrieving addresses in batch sends.
 * @package Swift
 * @author Chris Corbyn <chris@w3style.co.uk>
 */
interface Swift_Iterator
{
  /**
   * Check if there is a value in the list after the current one.
   * @return boolean
   */
  public function hasNext();
  /**
   * Move to the next position in the list if possible.
   * @return boolean
   */
  public function next();
  /**
   * Seek to the given numeric index in the list of possible.
   * @return boolean
   */
  public function seekTo($pos);
  /**
   * Get the value of the list at the current position.
   * @return mixed
   */
  public function getValue();
  /**
   * Get the current list position.
   * @return int
   */
  public function getPosition();
}