File tree 3 files changed +25
-0
lines changed
stubs/Symfony/Component/Validator/Constraints
3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,8 @@ parameters:
96
96
- stubs/Symfony/Component/Serializer/Normalizer/NormalizableInterface.stub
97
97
- stubs/Symfony/Component/Serializer/Normalizer/NormalizerInterface.stub
98
98
- stubs/Symfony/Component/Validator/Constraint.stub
99
+ - stubs/Symfony/Component/Validator/Constraints/Composite.stub
100
+ - stubs/Symfony/Component/Validator/Constraints/Compound.stub
99
101
- stubs/Symfony/Component/Validator/ConstraintViolationInterface.stub
100
102
- stubs/Symfony/Component/Validator/ConstraintViolationListInterface.stub
101
103
- stubs/Symfony/Contracts/Cache/CacheInterface.stub
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Symfony\Component\Validator\Constraints;
4
+
5
+ use Symfony\Component\Validator\Constraint;
6
+
7
+ abstract class Composite extends Constraint
8
+ {
9
+ }
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Symfony\Component\Validator\Constraints;
4
+
5
+ use Symfony\Component\Validator\Constraint;
6
+
7
+ abstract class Compound extends Composite
8
+ {
9
+ /**
10
+ * @param array<mixed> $options
11
+ * @return array<Constraint>
12
+ */
13
+ abstract protected function getConstraints(array $options): array;
14
+ }
You can’t perform that action at this time.
0 commit comments