+ /**
+ * Add snippet
+ *
+ * @param \Rapsys\AirBundle\Entity\Snippet $snippet
+ *
+ * @return User
+ */
+ public function addSnippet(Snippet $snippet) {
+ $this->snippets[] = $snippet;
+
+ return $this;
+ }
+
+ /**
+ * Remove snippet
+ *
+ * @param \Rapsys\AirBundle\Entity\Snippet $snippet
+ */
+ public function removeSnippet(Snippet $snippet) {
+ $this->snippets->removeElement($snippet);
+ }
+
+ /**
+ * Get snippets
+ *
+ * @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;
+ }
+