+ * @return \Doctrine\Common\Collections\Collection
+ */
+ public function getSnippets() {
+ return $this->snippets;
+ }
+
+ /**
+ * Add location
+ *
+ * @param \Rapsys\AirBundle\Entity\Location $location
+ *
+ * @return User
+ */
+ public function addLocation(Location $location) {
+ $this->locations[] = $location;
+
+ return $this;
+ }
+
+ /**
+ * Remove location
+ *
+ * @param \Rapsys\AirBundle\Entity\Location $location
+ */
+ public function removeLocation(Location $location) {
+ $this->locations->removeElement($location);
+ }
+
+ /**
+ * Get locations
+ *
+ * @return \Doctrine\Common\Collections\Collection
+ */
+ public function getLocations() {
+ return $this->locations;
+ }
+
+ /**
+ * 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