for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
/**
* @license http://opensource.org/licenses/mit-license.php MIT
* @link https://github.com/nicoSWD
* @author Nicolas Oelgart <[email protected]>
*/
namespace nicoSWD\SecHeaderCheck\Domain\Header;
final class HttpHeader
{
private $name = '';
private $value = '';
public function __construct(string $name, string $value)
$this->name = $name;
$this->value = $value;
}
public function name(): string
return $this->name;
public function value(): string
return $this->value;