]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/filter/tags/answer/class_PackageAnnouncementAnswerTagFilter.php
The package hash needs to be copied to the message array as it needs to be
[hub.git] / application / hub / main / filter / tags / answer / class_PackageAnnouncementAnswerTagFilter.php
index 315e384936ef998861f163f94b64d563c38441c9..7daf9ee59f162b2ec3120ea981db24b9436125ae 100644 (file)
@@ -79,6 +79,19 @@ class PackageAnnouncementAnswerTagFilter extends BaseNodeFilter implements Filte
                // Process message in generic way
                $this->genericProcessMessage('announcement_answer', $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]