X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/31ea77b9a1822280f92bf4d0480bc6a3962a2a66..237d11643f6cd5dedcd1dbf659b66d41633b851c:/Entity/Site.php diff --git a/Entity/Site.php b/Entity/Site.php deleted file mode 100644 index 3e240e5..0000000 --- a/Entity/Site.php +++ /dev/null @@ -1,212 +0,0 @@ -articles = new \Doctrine\Common\Collections\ArrayCollection(); - $this->site_translations = new \Doctrine\Common\Collections\ArrayCollection(); - } - - /** - * Get id - * - * @return integer - */ - public function getId() - { - return $this->id; - } - - /** - * Set domain - * - * @param string $domain - * - * @return Site - */ - public function setDomain($domain) - { - $this->domain = $domain; - - return $this; - } - - /** - * Get domain - * - * @return string - */ - public function getDomain() - { - return $this->domain; - } - - /** - * Set created - * - * @param \DateTime $created - * - * @return Site - */ - 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 Site - */ - public function setUpdated($updated) - { - $this->updated = $updated; - - return $this; - } - - /** - * Get updated - * - * @return \DateTime - */ - public function getUpdated() - { - return $this->updated; - } - - /** - * Add article - * - * @param \Rapsys\BlogBundle\Entity\Article $article - * - * @return Site - */ - public function addArticle(\Rapsys\BlogBundle\Entity\Article $article) - { - $this->articles[] = $article; - - return $this; - } - - /** - * Remove article - * - * @param \Rapsys\BlogBundle\Entity\Article $article - */ - public function removeArticle(\Rapsys\BlogBundle\Entity\Article $article) - { - $this->articles->removeElement($article); - } - - /** - * Get articles - * - * @return \Doctrine\Common\Collections\Collection - */ - public function getArticles() - { - return $this->articles; - } - - /** - * Add siteTranslation - * - * @param \Rapsys\BlogBundle\Entity\SiteTranslation $siteTranslation - * - * @return Site - */ - public function addSiteTranslation(\Rapsys\BlogBundle\Entity\SiteTranslation $siteTranslation) - { - $this->site_translations[] = $siteTranslation; - - return $this; - } - - /** - * Remove siteTranslation - * - * @param \Rapsys\BlogBundle\Entity\SiteTranslation $siteTranslation - */ - public function removeSiteTranslation(\Rapsys\BlogBundle\Entity\SiteTranslation $siteTranslation) - { - $this->site_translations->removeElement($siteTranslation); - } - - /** - * Get siteTranslations - * - * @return \Doctrine\Common\Collections\Collection - */ - public function getSiteTranslations() - { - return $this->site_translations; - } - - /** - * Set id - * - * @param integer $id - * - * @return Site - */ - public function setId($id) - { - $this->id = $id; - - return $this; - } -}