*/
class CachingIterator implements OuterIterator
{
- protected $it;
- protected $current;
- protected $key;
- protected $valid;
- protected $strValue;
+ private $it;
+ private $current;
+ private $key;
+ private $valid;
+ private $strValue;
/** Construct from another iterator
*
*/
class CachingRecursiveIterator extends CachingIterator implements RecursiveIterator
{
- protected $hasChildren;
- protected $getChildren;
+ private $hasChildren;
+ private $getChildren;
/** Construct from another iterator
*
*/
abstract class FilterIterator implements OuterIterator
{
- protected $it;
+ private $it;
/**
* Constructs a filter around an iterator whose elemnts are strings.
*/
class LimitIterator implements OuterIterator
{
- protected $it;
- protected $offset;
- protected $count;
+ private $it;
+ private $offset;
+ private $count;
private $pos;
/** Construct
*/
class RecursiveIteratorIterator implements OuterIterator
{
- protected $ait = array();
- protected $count = 0;
+ private $ait = array();
+ private $count = 0;
/** Construct from RecursiveIterator
*