src/Cms/CoreBundle/Entity/LocaleSettings.php line 13

Open in your IDE?
  1. <?php
  2. namespace Cms\CoreBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Class LocaleSettings
  6.  * @package Cms\CoreBundle\Entity
  7.  *
  8.  * @ORM\Embeddable
  9.  */
  10. class LocaleSettings
  11. {
  12.     /**
  13.      * @var string
  14.      *
  15.      * @ORM\Column(
  16.      *     type = "string",
  17.      *     nullable = true
  18.      * )
  19.      */
  20.     protected $timezone;
  21.     /**
  22.      * {@inheritdoc}
  23.      */
  24.     public function getTimezone()
  25.     {
  26.         return $this->timezone;
  27.     }
  28.     /**
  29.      * @param string $value
  30.      * @return $this
  31.      */
  32.     public function setTimezone($value)
  33.     {
  34.         $this->timezone $value;
  35.         return $this;
  36.     }
  37. }