File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ Here's how you can achieve this:
368368 1) **Define a Separate Group Provider Class: ** You can create a class that
369369 implements the :class: `Symfony\\ Component\\ Validator\\ GroupProviderInterface `
370370 and handles the dynamic group sequence logic.
371- 2) **Configure the User with the Provider: ** Use the ``class `` option within the
371+ 2) **Configure the User with the Provider: ** Use the ``provider `` option within the
372372 :class: `Symfony\\ Component\\ Validator\\ Constraints\\ GroupSequenceProvider `
373373 attribute to link the entity with the provider class.
374374 3) **Autowiring or Manual Tagging: ** If autowiring is enabled, your custom provider
@@ -385,7 +385,7 @@ Here's how you can achieve this:
385385 // ...
386386 use App\Validator\UserGroupProvider;
387387
388- #[Assert\GroupSequenceProvider(class : UserGroupProvider::class)]
388+ #[Assert\GroupSequenceProvider(provider : UserGroupProvider::class)]
389389 class User
390390 {
391391 // ...
You can’t perform that action at this time.
0 commit comments