src/Cms/ModuleBundle/Entity/FeedSettings.php line 13

Open in your IDE?
  1. <?php
  2. namespace Cms\ModuleBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Class FeedSettings
  6.  *
  7.  * @package Cms\ModuleBundle\Entity
  8.  * @ORM\Embeddable
  9.  */
  10. class FeedSettings
  11. {
  12.     /**
  13.      * @var bool
  14.      *
  15.      * @ORM\Column(
  16.      *  type = "boolean",
  17.      *  options = {"default": false}
  18.      * )
  19.      */
  20.     protected $blog false;
  21.     /**
  22.      * @var bool
  23.      *
  24.      * @ORM\Column(
  25.      *  type = "boolean",
  26.      *  options = {"default": false}
  27.      * )
  28.      */
  29.     protected $calendar false;
  30.     /**
  31.      * @var bool
  32.      *
  33.      * @ORM\Column(
  34.      *  type = "boolean",
  35.      *  options = {"default": false}
  36.      * )
  37.      */
  38.     protected $news false;
  39.     /**
  40.      * @var bool
  41.      *
  42.      * @ORM\Column(
  43.      *  type = "boolean",
  44.      *  options = {"default": false}
  45.      * )
  46.      */
  47.     protected $alert false;
  48.     /**
  49.      * @return bool
  50.      */
  51.     public function isBlog()
  52.     {
  53.         return $this->blog;
  54.     }
  55.     /**
  56.      * @param bool $blog
  57.      */
  58.     public function setBlog($blog)
  59.     {
  60.         $this->blog $blog;
  61.     }
  62.     /**
  63.      * @return bool
  64.      */
  65.     public function isCalendar()
  66.     {
  67.         return $this->calendar;
  68.     }
  69.     /**
  70.      * @param bool $calendar
  71.      */
  72.     public function setCalendar($calendar)
  73.     {
  74.         $this->calendar $calendar;
  75.     }
  76.     /**
  77.      * @return bool
  78.      */
  79.     public function isNews()
  80.     {
  81.         return $this->news;
  82.     }
  83.     /**
  84.      * @param bool $news
  85.      */
  86.     public function setNews($news)
  87.     {
  88.         $this->news $news;
  89.     }
  90.     /**
  91.      * @return bool
  92.      */
  93.     public function isAlert()
  94.     {
  95.         return $this->alert;
  96.     }
  97.     /**
  98.      * @param bool $alert
  99.      */
  100.     public function setAlert($alert)
  101.     {
  102.         $this->alert $alert;
  103.     }
  104. }