]> git.mxchange.org Git - hub.git/blobdiff - application/hub/interfaces/lists/class_Listable.php
Exceptions/interfaces/classes added:
[hub.git] / application / hub / interfaces / lists / class_Listable.php
index d2b26b9117699c2b1ae6616b09835be93921318f..60712ed18d9eba469efdb8468bfcedf05e8dd6cc 100644 (file)
@@ -59,6 +59,16 @@ interface Listable extends FrameworkInterface, IteratorAggregate {
         * @throws      NoListGroupException    If the given group is not found
         */
        function addEntry ($groupName, $entry);
+
+       /**
+        * Updates the given entry by hash with given array
+        *
+        * @param       $hash           Hash for this entry
+        * @param       $entryArray     Array with entry we should update
+        * @return      void
+        * @throws      InvalidListHashException        If the solved hash index is invalid
+        */
+       function updateCurrentEntryByHash ($hash, array $entryArray);
 }
 
 //