Esempio n. 1
0
 /**
  * @param string                  $messageFqcn
  * @param UnsubscribeOptions|null $options
  */
 public function unsubscribe($messageFqcn, UnsubscribeOptions $options = null)
 {
     $options = $options ?: $this->outgoingOptionsFactory->createUnsubscribeOptions();
     $this->busOperations->unsubscribe($messageFqcn, $options, $this);
 }
Esempio n. 2
0
 /**
  * @param string                  $eventFqcn
  * @param UnsubscribeOptions|null $options
  */
 public function unsubscribe($eventFqcn, UnsubscribeOptions $options = null)
 {
     $options = $options ?: $this->outgoingOptionsFactory->createUnsubscribeOptions();
     $this->busOperations->unsubscribe($eventFqcn, $options, $this->rootContext);
 }