for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Chubbyphp\Cors\Negotiation\Origin;
final class AllowOriginExact implements AllowOriginInterface
{
/**
* @var string
*/
private $value;
* @param string $value
public function __construct(string $value)
$this->value = $value;
}
* @param string $origin
*
* @return bool
public function match(string $origin): bool
return $this->value === $origin;