src/Cms/DomainBundle/Entity/Embeddables/LetsEncryptCertificateStateEmbeddable.php line 13

Open in your IDE?
  1. <?php
  2. namespace Cms\DomainBundle\Entity\Embeddables;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Class LetsEncryptCertificateStateEmbeddable
  6.  * @package Cms\DomainBundle\Entity\Embeddables
  7.  *
  8.  * @ORM\Embeddable
  9.  */
  10. class LetsEncryptCertificateStateEmbeddable
  11. {
  12.     /**
  13.      * Stored Let's Encrypt challenge type.
  14.      * Currently, only "http-01" is supported.
  15.      *
  16.      * @var string
  17.      *
  18.      * @ORM\Column(
  19.      *     type = "string",
  20.      *     nullable = true
  21.      * )
  22.      */
  23.     protected $challenge;
  24.     /**
  25.      * Stored challenge token for Let's Encrypt verification process.
  26.      *
  27.      * @var string
  28.      *
  29.      * @ORM\Column(
  30.      *     type = "string",
  31.      *     nullable = true
  32.      * )
  33.      */
  34.     protected $token;
  35.     /**
  36.      * Stored payload for Let's Encrypt verification process.
  37.      *
  38.      * @var string
  39.      *
  40.      * @ORM\Column(
  41.      *     type = "string",
  42.      *     nullable = true
  43.      * )
  44.      */
  45.     protected $payload;
  46.     /**
  47.      * @return string
  48.      */
  49.     public function getChallenge()
  50.     {
  51.         return $this->challenge;
  52.     }
  53.     /**
  54.      * @param string $value
  55.      * @return $this
  56.      */
  57.     public function setChallenge($value)
  58.     {
  59.         $this->challenge $value;
  60.         return $this;
  61.     }
  62.     /**
  63.      * @return string
  64.      */
  65.     public function getToken()
  66.     {
  67.         return $this->token;
  68.     }
  69.     /**
  70.      * @param string $value
  71.      * @return $this
  72.      */
  73.     public function setToken($value)
  74.     {
  75.         $this->token $value;
  76.         return $this;
  77.     }
  78.     /**
  79.      * @return string
  80.      */
  81.     public function getPayload()
  82.     {
  83.         return $this->payload;
  84.     }
  85.     /**
  86.      * @param string $value
  87.      * @return $this
  88.      */
  89.     public function setPayload($value)
  90.     {
  91.         $this->payload $value;
  92.         return $this;
  93.     }
  94. }