<?php
namespace Cms\DomainBundle\Entity\Embeddables;
use Doctrine\ORM\Mapping as ORM;
/**
* Class SslCertificateDataEmbeddable
* @package Cms\DomainBundle\Entity\Embeddables
*
* @ORM\Embeddable
*/
class SslCertificateDataEmbeddable
{
/**
* @var string
*
* @ORM\Column(
* type = "text",
* nullable = true
* )
*/
protected $privateKey;
/**
* @var string
*
* @ORM\Column(
* type = "text",
* nullable = true
* )
*/
protected $intermediateCertificates;
/**
* TODO: fix field name
*
* @var string
*
* @ORM\Column(
* type = "text",
* nullable = true
* )
*/
protected $certficate;
/**
* @var string
*
* @ORM\Column(
* type = "text",
* nullable = true
* )
*/
protected $certificateSigningRequest;
/**
* @return string
*/
public function getPrivateKey()
{
return $this->privateKey;
}
/**
* @param string $value
* @return $this
*/
public function setPrivateKey($value)
{
$this->privateKey = $value;
return $this;
}
/**
* @return string
*/
public function getIntermediateCertificates()
{
return $this->intermediateCertificates;
}
/**
* @param string $value
* @return $this
*/
public function setIntermediateCertificates($value)
{
$this->intermediateCertificates = $value;
return $this;
}
/**
* @return string
*/
public function getCertificate()
{
return $this->certficate;
}
/**
* @param string $value
* @return $this
*/
public function setCertificate($value)
{
$this->certficate = $value;
return $this;
}
/**
* @return string
*/
public function getCertificateSigningRequest()
{
return $this->certificateSigningRequest;
}
/**
* @param string $value
* @return $this
*/
public function setCertificateSigningRequest($value)
{
$this->certificateSigningRequest = $value;
return $this;
}
}