From 1ae9434558b65e1ab2ea460ba9df81986ee186a8 Mon Sep 17 00:00:00 2001 From: tracer Date: Wed, 21 Sep 2022 15:51:48 +0200 Subject: [PATCH] initial commit --- src/Entity/KeyHelp/Security.php | 130 ++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 src/Entity/KeyHelp/Security.php diff --git a/src/Entity/KeyHelp/Security.php b/src/Entity/KeyHelp/Security.php new file mode 100644 index 0000000..aa3c773 --- /dev/null +++ b/src/Entity/KeyHelp/Security.php @@ -0,0 +1,130 @@ +idCertificate; + } + + /** + * @param int $idCertificate + */ + public function setIdCertificate(int $idCertificate): void + { + $this->idCertificate = $idCertificate; + } + + /** + * @return bool + */ + public function isLetsEncrypt(): bool + { + return $this->letsEncrypt; + } + + /** + * @param bool $letsEncrypt + */ + public function setLetsEncrypt(bool $letsEncrypt): void + { + $this->letsEncrypt = $letsEncrypt; + } + + /** + * @return bool + */ + public function isHsts(): bool + { + return $this->isHsts; + } + + /** + * @param bool $isHsts + */ + public function setIsHsts(bool $isHsts): void + { + $this->isHsts = $isHsts; + } + + /** + * @return int + */ + public function getHstsMaxAge(): int + { + return $this->hstsMaxAge; + } + + /** + * @param int $hstsMaxAge + */ + public function setHstsMaxAge(int $hstsMaxAge): void + { + $this->hstsMaxAge = $hstsMaxAge; + } + + /** + * @return bool + */ + public function isHstsInclude(): bool + { + return $this->hstsInclude; + } + + /** + * @param bool $hstsInclude + */ + public function setHstsInclude(bool $hstsInclude): void + { + $this->hstsInclude = $hstsInclude; + } + + /** + * @return bool + */ + public function isHstsPreload(): bool + { + return $this->hstsPreload; + } + + /** + * @param bool $hstsPreload + */ + public function setHstsPreload(bool $hstsPreload): void + { + $this->hstsPreload = $hstsPreload; + } + + + /** + * @return bool + */ + public function isForceHttps(): bool + { + return $this->forceHttps; + } + + /** + * @param bool $forceHttps + */ + public function setForceHttps(bool $forceHttps): void + { + $this->forceHttps = $forceHttps; + } +} \ No newline at end of file