id; } /** * Set title * * @param string $title * @return Post */ public function setTitle($title) { $this->title = $title; return $this; } /** * Get title * * @return string */ public function getTitle() { return $this->title; } /** * Get slug * * @return string */ public function getSlug() { return $this->slug; } /** * Set user * * @param GergelyPolonkai\FrontBundle\Entity\User $user * @return Post */ public function setUser(\GergelyPolonkai\FrontBundle\Entity\User $user) { $this->user = $user; return $this; } /** * Get user * * @return GergelyPolonkai\FrontBundle\Entity\User */ public function getUser() { return $this->user; } /** * Set content * * @param string $content * @return Post */ public function setContent($content) { $this->content = $content; return $this; } /** * Get content * * @return string */ public function getContent() { return $this->content; } /** * Get createdAt * * @return \DateTime */ public function getCreatedAt() { return $this->createdAt; } }