]> granicus.if.org Git - php/commitdiff
- Actually these are private
authorMarcus Boerger <helly@php.net>
Tue, 8 Feb 2005 19:00:19 +0000 (19:00 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 8 Feb 2005 19:00:19 +0000 (19:00 +0000)
ext/spl/internal/cachingiterator.inc
ext/spl/internal/cachingrecursiveiterator.inc
ext/spl/internal/filteriterator.inc
ext/spl/internal/limititerator.inc
ext/spl/internal/recursiveiteratoriterator.inc

index 59271bfe070c6b7ff4adffe19b3a369eb43f5054..bf0ffb2ff052c9a2dd9d3a07bd757eaad201b8d7 100755 (executable)
@@ -29,11 +29,11 @@ define('CIT_CATCH_GET_CHILD', 2);
  */
 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
         *
index 3c9b6586690afdb01862a7f00adbf1e6fee034af..7e20f661c360d8e2972bb993f5c23eac5d8782bb 100755 (executable)
@@ -18,8 +18,8 @@
  */
 class CachingRecursiveIterator extends CachingIterator implements RecursiveIterator
 {
-       protected $hasChildren;
-       protected $getChildren;
+       private $hasChildren;
+       private $getChildren;
 
        /** Construct from another iterator
         *
index eede4fbb644f7dc1407f2cf51356776f28030d7c..2892f70964e92e846f185b50e9ccf68987bdfc32 100755 (executable)
@@ -24,7 +24,7 @@
  */
 abstract class FilterIterator implements OuterIterator
 {
-       protected $it;
+       private $it;
 
        /**
         * Constructs a filter around an iterator whose elemnts are strings.
index 8b275be9c20ee21c930c703df82a6022b07e7481..99231696792ed421e04ff0ac76fa8c2d87934d16 100755 (executable)
@@ -22,9 +22,9 @@
  */
 class LimitIterator implements OuterIterator
 {
-       protected $it;
-       protected $offset;
-       protected $count;
+       private $it;
+       private $offset;
+       private $count;
        private $pos;
 
        /** Construct
index 6c564ee61ed2a3175fd2716d825a7a20df87bbea..e9850e6b582872b4e4afcbfe35f7838af8ee4034 100755 (executable)
@@ -24,8 +24,8 @@ define('RIT_CHILD_FIRST', 2);
  */
 class RecursiveIteratorIterator implements OuterIterator
 {
-       protected $ait = array();
-       protected $count = 0;
+       private $ait = array();
+       private $count = 0;
 
        /** Construct from RecursiveIterator
         *