+
+ /**
+ * Add subscriber
+ *
+ * @param \Rapsys\AirBundle\Entity\User $subscriber
+ *
+ * @return User
+ */
+ public function addSubscriber(User $subscriber) {
+ $this->subscribers[] = $subscriber;
+
+ return $this;
+ }
+
+ /**
+ * Remove subscriber
+ *
+ * @param \Rapsys\AirBundle\Entity\User $subscriber
+ */
+ public function removeSubscriber(User $subscriber) {
+ $this->subscribers->removeElement($subscriber);
+ }
+
+ /**
+ * Get subscribers
+ *
+ * @return \Doctrine\Common\Collections\Collection
+ */
+ public function getSubscribers() {
+ return $this->subscribers;
+ }
+
+ /**
+ * Add subscription
+ *
+ * @param \Rapsys\AirBundle\Entity\User $subscription
+ *
+ * @return User
+ */
+ public function addSubscription(User $subscription) {
+ $this->subscriptions[] = $subscription;
+
+ return $this;
+ }
+
+ /**
+ * Remove subscription
+ *
+ * @param \Rapsys\AirBundle\Entity\User $subscription
+ */
+ public function removeSubscription(User $subscription) {
+ $this->subscriptions->removeElement($subscription);
+ }
+
+ /**
+ * Get subscriptions
+ *
+ * @return \Doctrine\Common\Collections\Collection
+ */
+ public function getSubscriptions() {
+ return $this->subscriptions;
+ }
+
+ /**
+ * Add snippet
+ *
+ * @param \Rapsys\AirBundle\Entity\Snippet $snippet
+ *
+ * @return Location
+ */
+ public function addSnippet(\Rapsys\AirBundle\Entity\Snippet $snippet) {
+ $this->snippets[] = $snippet;
+
+ return $this;
+ }
+
+ /**
+ * Remove snippet
+ *
+ * @param \Rapsys\AirBundle\Entity\Snippet $snippet
+ */
+ public function removeSnippet(\Rapsys\AirBundle\Entity\Snippet $snippet) {
+ $this->snippets->removeElement($snippet);
+ }
+
+ /**
+ * Get snippets
+ *
+ * @return \Doctrine\Common\Collections\Collection
+ */
+ public function getSnippets() {
+ return $this->snippets;
+ }