Renamed Registry -> GenericRegistry to make it clear that this registry does
[core.git] / framework / main / interfaces / lists / class_Listable.php
index 0d96e791e773230417d3ebd6c4f4cb45623a64b7..16f1bd7afc4abeab14bde3c7104898b47d2dfb59 100644 (file)
@@ -1,9 +1,13 @@
 <?php
 // Own namespace
-namespace CoreFramework\Lists;
+namespace Org\Mxchange\CoreFramework\Lists;
 
 // Import framework stuff
-use CoreFramework\Generic\FrameworkInterface;
+use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
+use Org\Mxchange\CoreFramework\Visitor\Visitable;
+
+// Import SPL stuff
+use \IteratorAggregate;
 
 /**
  * An interface for lists
@@ -90,4 +94,12 @@ interface Listable extends FrameworkInterface, IteratorAggregate {
         */
        function clearList ();
 
+       /**
+        * Setter for call-back instance
+        *
+        * @param       $callbackInstance       An instance of a FrameworkInterface class
+        * @return      void
+        */
+       function setCallbackInstance (FrameworkInterface $callbackInstance);
+
 }