+ public function getLocations(): ArrayCollection {
+ return $this->locations;
+ }
+
+ /**
+ * Add subscriber
+ *
+ * @param User $subscriber
+ *
+ * @return User
+ */
+ public function addSubscriber(User $subscriber): User {
+ $this->subscribers[] = $subscriber;
+
+ return $this;
+ }
+
+ /**
+ * Remove subscriber
+ *
+ * @param User $subscriber
+ */
+ public function removeSubscriber(User $subscriber): bool {
+ return $this->subscribers->removeElement($subscriber);
+ }
+
+ /**
+ * Get subscribers
+ *
+ * @return ArrayCollection
+ */
+ public function getSubscribers(): ArrayCollection {
+ return $this->subscribers;
+ }
+
+ /**
+ * Add subscription
+ *
+ * @param User $subscription
+ *
+ * @return User
+ */
+ public function addSubscription(User $subscription): User {
+ $this->subscriptions[] = $subscription;
+
+ return $this;
+ }
+
+ /**
+ * Remove subscription
+ *
+ * @param User $subscription
+ */
+ public function removeSubscription(User $subscription): bool {
+ return $this->subscriptions->removeElement($subscription);
+ }
+
+ /**
+ * Get subscriptions
+ *
+ * @return ArrayCollection
+ */
+ public function getSubscriptions(): ArrayCollection {
+ return $this->subscriptions;