for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Dolibarr\Client\Domain\Authentication;
use Webmozart\Assert\Assert;
/**
* @author Laurent De Coninck <[email protected]>
*/
class Header
{
* @var string
private $headerKey;
private $headerValue;
* @param string $headerKey
* @param string $headerValue
public function __construct($headerKey, $headerValue)
Assert::notEmpty($headerKey);
Assert::notEmpty($headerValue);
$this->headerKey = $headerKey;
$this->headerValue = $headerValue;
}
* @return string
public function getHeaderKey()
return $this->headerKey;
public function getHeaderValue()
return $this->headerValue;