]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/stacker/class_Stackable.php
Some methods are now public and added to the interface
[core.git] / inc / classes / interfaces / stacker / class_Stackable.php
index 7b47b07631f5d846289337121066bfec68519db9..31247f553b78c9f0fe03ff5cbab50f17b756a8e9 100644 (file)
@@ -51,6 +51,23 @@ interface Stackable extends FrameworkInterface {
         * @throws      EmptyStackerException   If the named stacker is empty
         */
        function getNamed ($stackerName);
+
+       /**
+        * Checks wether the given stack is initialized (set in array $stackers)
+        *
+        * @param       $stackerName    Name of the stack
+        * @return      $isInitialized  Wether the stack is initialized
+        */
+       function isStackInitialized ($stackerName);
+
+       /**
+        * Checks wether the given stack is empty
+        *
+        * @param       $stackerName    Name of the stack
+        * @return      $isEmpty                        Wether the stack is empty
+        * @throws      NoStackerException      If given stack is missing
+        */
+       function isStackEmpty ($stackerName);
 }
 
 // [EOF]