'callback' => $helperInstance
));
}
+
+ /**
+ * Checks wether a package has been enqueued for delivery.
+ *
+ * @return $isEnqueued Wether a package is enqueued
+ */
+ public function isPackageEnqueued () {
+ // Check wether the stacker is not empty
+ $isEnqueued = (($this->getStackerInstance()->isStackInitialized(self::STACKER_NAME_UNDECLARED)) && (!$this->getStackerInstance()->isStackEmpty(self::STACKER_NAME_UNDECLARED)));
+
+ // Return the result
+ return $isEnqueued;
+ }
+
+ /**
+ * Delivers an enqueued package to the stated destination. If none is
+ * provided, the registered helper class is being iterated until no target
+ * is left. This allows that a single package is being delivered to multiple
+ * targets without enqueueing it for every target. If no target is provided
+ * or it can't be determined a NoTargetException is being thrown.
+ *
+ * @return void
+ * @throws NoTargetException If no target can't be determined
+ */
+ public function deliverEnqueuedPackage () {
+ $this->partialStub('Please implement this method.');
+ }
}
// [EOF]