* @link https://www.oxidmodule.com */ declare(strict_types=1); namespace D3\MailAuthenticationCheck\Mechanism\DMARC; use D3\MailAuthenticationCheck\Mechanism\AbstractMechanism; class DkimAlignment extends AbstractMechanism { public const DEFAULT = 'r'; public function isStrict(): bool { return strtolower((string) $this) === 's'; } public function isRelaxed(): bool { return !$this->isStrict(); } }