id; } /** * Set locale * * @param string $locale * * @return Snippet */ public function setLocale($locale) { $this->locale = $locale; return $this; } /** * Get locale * * @return string */ public function getLocale() { return $this->locale; } /** * Set description * * @param string $description * * @return Snippet */ public function setDescription($description) { $this->description = $description; return $this; } /** * Get description * * @return string */ public function getDescription() { return $this->description; } /** * Set created * * @param \DateTime $created * * @return User */ public function setCreated($created) { $this->created = $created; return $this; } /** * Get created * * @return \DateTime */ public function getCreated() { return $this->created; } /** * Set updated * * @param \DateTime $updated * * @return User */ public function setUpdated($updated) { $this->updated = $updated; return $this; } /** * Get updated * * @return \DateTime */ public function getUpdated() { return $this->updated; } /** * Set location */ public function setLocation(Location $location) { $this->location = $location; return $this; } /** * Get location */ public function getLocation() { return $this->location; } /** * Set user */ public function setUser(User $user) { $this->user = $user; return $this; } /** * Get user */ public function getUser() { return $this->user; } }