mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
30 lines
613 B
PHP
Executable File
30 lines
613 B
PHP
Executable File
<?php
|
|
|
|
/** @file recursiveiterator.inc
|
|
* @ingroup SPL
|
|
* @brief class RecursiveIterator
|
|
* @author Marcus Boerger
|
|
* @date 2003 - 2005
|
|
*
|
|
* SPL - Standard PHP Library
|
|
*/
|
|
|
|
/**
|
|
* @brief Interface for recursive iteration with RecursiveIteratorIterator
|
|
* @author Marcus Boerger
|
|
* @version 1.0
|
|
* @since PHP 5.0
|
|
*/
|
|
interface RecursiveIterator implements Iterator
|
|
{
|
|
/** @return whether the current element has children
|
|
*/
|
|
function hasChildren();
|
|
|
|
/** @return the sub iterator for the current element
|
|
* @note The returned object must implement RecursiveIterator.
|
|
*/
|
|
function getChildren();
|
|
}
|
|
|
|
?>
|