vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/Entity/Domain.php line 17

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of Sulu.
  4.  *
  5.  * (c) Sulu GmbH
  6.  *
  7.  * This source file is subject to the MIT license that is bundled
  8.  * with this source code in the file LICENSE.
  9.  */
  10. namespace Sulu\Bundle\WebsiteBundle\Entity;
  11. /**
  12.  * Domain.
  13.  */
  14. class Domain
  15. {
  16.     /**
  17.      * @var int
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var string
  22.      */
  23.     private $url;
  24.     /**
  25.      * @var string
  26.      */
  27.     private $environment;
  28.     /**
  29.      * Get id.
  30.      *
  31.      * @return int
  32.      */
  33.     public function getId()
  34.     {
  35.         return $this->id;
  36.     }
  37.     /**
  38.      * Set url.
  39.      *
  40.      * @param string $url
  41.      *
  42.      * @return Domain
  43.      */
  44.     public function setUrl($url)
  45.     {
  46.         $this->url $url;
  47.         return $this;
  48.     }
  49.     /**
  50.      * Get url.
  51.      *
  52.      * @return string
  53.      */
  54.     public function getUrl()
  55.     {
  56.         return $this->url;
  57.     }
  58.     /**
  59.      * Set environment.
  60.      *
  61.      * @param string $environment
  62.      *
  63.      * @return Domain
  64.      */
  65.     public function setEnvironment($environment)
  66.     {
  67.         $this->environment $environment;
  68.         return $this;
  69.     }
  70.     /**
  71.      * Get environment.
  72.      *
  73.      * @return string
  74.      */
  75.     public function getEnvironment()
  76.     {
  77.         return $this->environment;
  78.     }
  79. }