From: Roland Häder <roland@mxchange.org>
Date: Sun, 21 Jul 2013 22:07:43 +0000 (+0000)
Subject: Added possible missing interface IteratorAggregate (SPL)
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0af2ef09c5ddc7452bebfa3182cbdcaa162322e3;p=hub.git

Added possible missing interface IteratorAggregate (SPL)
---

diff --git a/application/hub/interfaces/discovery/class_DiscoverableRecipient.php b/application/hub/interfaces/discovery/class_DiscoverableRecipient.php
index 765d3de3e..3c2fbf3c8 100644
--- a/application/hub/interfaces/discovery/class_DiscoverableRecipient.php
+++ b/application/hub/interfaces/discovery/class_DiscoverableRecipient.php
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-interface DiscoverableRecipient extends FrameworkInterface {
+interface DiscoverableRecipient extends FrameworkInterface, IteratorAggregate {
 	/**
 	 * Tries to discover all recipients for given package data
 	 *
diff --git a/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php b/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php
index ae48aa47b..b8bcbd35b 100644
--- a/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php
+++ b/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class PackageRecipientDiscovery extends BaseHubDiscovery implements DiscoverableRecipient, Registerable {
+class PackageRecipientDiscovery extends BaseHubDiscovery implements DiscoverableRecipient, Registerable, IteratorAggregate {
 	/**
 	 * Protected constructor
 	 *