<?phpdeclare(strict_types=1);namespaceLcobucci\JWT\Validation\Constraint;useLcobucci\JWT\Token;useLcobucci\JWT\Validation\Constraint;useLcobucci\JWT\Validation\ConstraintViolation;finalclassIdentifiedByimplementsConstraint{privatestring$id;publicfunction__construct(string$id){$this->id=$id;}publicfunctionassert(Token$token):void{if(!$token->isIdentifiedBy($this->id)){thrownewConstraintViolation('The token is not identified with the expected ID');}}}