newsletter = $newsletter; $this->queue = $queue; $this->subscriber = $subscriber; } /** * @return NewsletterEntity|null */ public function getNewsletter() { $this->safelyLoadToOneAssociation('newsletter'); return $this->newsletter; } /** * @return SendingQueueEntity|null */ public function getQueue() { $this->safelyLoadToOneAssociation('queue'); return $this->queue; } /** * @return string */ public function getSource(): string { return $this->source; } /** * @param string $source */ public function setSource(string $source) { $this->source = $source; } /** * @param string $meta */ public function setMeta(string $meta) { $this->meta = $meta; } /** * @return string|null */ public function getMeta() { return $this->meta; } public function setMethod(string $method) { $this->method = $method; } public function getMethod(): string { return $this->method; } }