Skip to content
Commits on Source (1)
<?php
namespace PhpExtended\Information;
/**
* InformationIteratorInterface interface file.
*
* This interface is to create an iterator that provides informations.
*
* The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
* "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to
* be interpreted as described in RFC 2119.
*
* @author Anastaszor
*/
interface InformationIteratorInterface extends \Iterator, \Countable
{
/**
* {@inheritDoc}
* @see \Iterator::current()
*/
public function current() : InformationInterface;
}