Continued:
[core.git] / framework / main / interfaces / iterator / registry / class_IteratableRegistry.php
index 6a3ab494225c02419bcd74dbb084de8083f4a248..b3155197b456763dc36f1db6f3136432321183e3 100644 (file)
@@ -13,7 +13,7 @@ use \Iterator;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -35,10 +35,11 @@ interface IteratableRegistry extends FrameworkInterface, Iterator {
        /**
         * Initializes this iterator by scanning over the registry for all keys.
         *
+        * @param       $onlyRegistries         Only iterate on these sub-registry keys, default is all
         * @return      void
         * @throws      LogicException  If a registry entry does not implement Registerable
         * @throws      NullPointerException    If criteriaKey or criteriaMethod is not set but a call-back instance is set
         */
-       function initIterator (FrameworkInterface $callbackInstance = NULL, $criteriaKey = NULL, $criteriaMethod = NULL);
+       function initIterator (array $onlyRegistries = []);
 
 }