$issuers */ public function __construct(...$issuers) { $this->issuers = $issuers; } public function assert(Token $token) { if (!$token->hasBeenIssuedBy(...$this->issuers)) { throw new ConstraintViolation('The token was not issued by the given issuers'); } } }