]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/filter/tags/class_PackageSelfConnectTagFilter.php
The package hash needs to be copied to the message array as it needs to be
[hub.git] / application / hub / main / filter / tags / class_PackageSelfConnectTagFilter.php
index 2211d4b290d2dce49948ac7b608f89ba60b8b844..bd75e45058683ea9d61b719e21a86444b4d83b7c 100644 (file)
@@ -83,6 +83,19 @@ class PackageSelfConnectTagFilter extends BaseNodeFilter implements FilterablePa
                // Process generic
                $this->genericProcessMessage('self_connect', $messageData, $packageInstance);
        }
+
+       /**
+        * Post-processes the stacked message. Do not call popNamed() as then no
+        * other class can process the message.
+        *
+        * @param       $packageInstance        An instance of a Receivable class
+        * @return      void
+        * @throws      UnsupportedOperationException   If this method is called, please use processMessage() instead!
+        */
+       public function postProcessMessage (Receivable $packageInstance) {
+               // Please don't call this method
+               throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
+       }
 }
 
 // [EOF]