Added possible missing interface IteratorAggregate (SPL)
authorRoland Häder <roland@mxchange.org>
Sun, 21 Jul 2013 22:07:43 +0000 (22:07 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 21 Jul 2013 22:07:43 +0000 (22:07 +0000)
application/hub/interfaces/discovery/class_DiscoverableRecipient.php
application/hub/main/discovery/package/class_PackageRecipientDiscovery.php

index 765d3de3ebc3aaed00dbb7f44100bf0c1be956bf..3c2fbf3c828b5ddfbb0d14e83b732366256da3cb 100644 (file)
@@ -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
         *
index ae48aa47bd6b34618cf5ed3e4d9b642f1b8d5d4b..b8bcbd35be460adfdc1bfe99fc2fb21d37afcb9d 100644 (file)
@@ -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
         *