for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace CCT\Kong\Model;
class SNI
{
/**
* @var string
*/
protected $name;
protected $certificateId;
* @var \DateTime
protected $createdAt;
* Sets the SNI name to associate with the given certificate.
*
* @param string $name
* @return static
public function setName(string $name): self
$this->name = $name;
return $this;
}
* Gets the SNI name given to the certificate.
* @return null|string
public function getName(): ?string
return $this->name;
* Sets the id (a UUID) of the certificate with which to associate the SNI hostname.
* @param string $certificateId
public function setCertificateId(string $certificateId): self
$this->certificateId = $certificateId;
* Gets the id (a UUID) of the certificate with which to associate the SNI hostname.
public function getCertificateId(): ?string
return $this->certificateId;
* Gets the date which the object was created.
* @return \DateTime|null
public function getCreatedAt(): ?\DateTime
return $this->createdAt;