src/CoreBundle/Entity/Vehicles/FeatureContent.php line 8

Open in your IDE?
  1. <?php
  2. namespace CoreBundle\Entity\Vehicles;
  3. /**
  4.  * FeatureContent
  5.  */
  6. class FeatureContent
  7. {
  8.     /**
  9.      * @var integer
  10.      */
  11.     private $id;
  12.     /**
  13.      * @var string
  14.      */
  15.     private $title;
  16.     /**
  17.      * @var string
  18.      */
  19.     private $content;
  20.     /**
  21.      * @var string
  22.      */
  23.     private $locale;
  24.     /**
  25.      * @var Feature
  26.      */
  27.     private $feature;
  28.     /**
  29.      * Get id
  30.      *
  31.      * @return integer
  32.      */
  33.     public function getId()
  34.     {
  35.         return $this->id;
  36.     }
  37.     /**
  38.      * Set title
  39.      *
  40.      * @param string $title
  41.      *
  42.      * @return FeatureContent
  43.      */
  44.     public function setTitle($title)
  45.     {
  46.         $this->title $title;
  47.         return $this;
  48.     }
  49.     /**
  50.      * Get title
  51.      *
  52.      * @return string
  53.      */
  54.     public function getTitle()
  55.     {
  56.         return $this->title;
  57.     }
  58.     /**
  59.      * Set content
  60.      *
  61.      * @param string $content
  62.      *
  63.      * @return FeatureContent
  64.      */
  65.     public function setContent($content)
  66.     {
  67.         $this->content $content;
  68.         return $this;
  69.     }
  70.     /**
  71.      * Get content
  72.      *
  73.      * @return string
  74.      */
  75.     public function getContent()
  76.     {
  77.         return $this->content;
  78.     }
  79.     /**
  80.      * Set feature
  81.      *
  82.      * @param Feature $feature
  83.      *
  84.      * @return FeatureContent
  85.      */
  86.     public function setFeature(Feature $feature null)
  87.     {
  88.         $this->feature $feature;
  89.         return $this;
  90.     }
  91.     /**
  92.      * Get feature
  93.      *
  94.      * @return Feature
  95.      */
  96.     public function getFeature()
  97.     {
  98.         return $this->feature;
  99.     }
  100.     public function __toString()
  101.     {
  102.         return (string) $this->title;
  103.     }
  104.     /**
  105.      * @var string
  106.      */
  107.     private $language;
  108.     /**
  109.      * Set language
  110.      *
  111.      * @param string $language
  112.      *
  113.      * @return FeatureContent
  114.      */
  115.     public function setLanguage($language)
  116.     {
  117.         $this->language $language;
  118.         return $this;
  119.     }
  120.     /**
  121.      * Get language
  122.      *
  123.      * @return string
  124.      */
  125.     public function getLanguage()
  126.     {
  127.         return $this->language;
  128.     }
  129. }