Add method to retrieve subsccriber
[MAILPOET-4773]
This commit is contained in:
committed by
Brezo Cordero
parent
2e9ae1ed0b
commit
6ee45f0f54
@@ -39,4 +39,8 @@ class SubscriberPayload implements Payload {
|
||||
public function getWpUserId(): ?int {
|
||||
return $this->subscriber->getWpUserId();
|
||||
}
|
||||
|
||||
public function getSubscriber(): SubscriberEntity {
|
||||
return $this->subscriber;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user