issuers = $issuers; } public function assert(Token $token): void { if (! $token->hasBeenIssuedBy(...$this->issuers)) { throw ConstraintViolation::error( 'The token was not issued by the given issuers', $this ); } } }