@@ -119,96 +119,75 @@ public function getValidator(): ValidatorInterface;
119
119
public function getObject (): ?object ;
120
120
121
121
/**
122
- * Sets the currently validated value .
122
+ * Warning: Should not be called by user code, to be used by the validator engine only .
123
123
*
124
124
* @param object|null $object The currently validated object
125
125
* @param string $propertyPath The property path to the current value
126
- *
127
- * @internal Used by the validator engine. Should not be called by user
128
- * code.
129
126
*/
130
127
public function setNode (mixed $ value , ?object $ object , MetadataInterface $ metadata = null , string $ propertyPath ): void ;
131
128
132
129
/**
133
- * Sets the currently validated group .
130
+ * Warning: Should not be called by user code, to be used by the validator engine only .
134
131
*
135
132
* @param string|null $group The validated group
136
- *
137
- * @internal Used by the validator engine. Should not be called by user
138
- * code.
139
133
*/
140
134
public function setGroup (?string $ group ): void ;
141
135
142
136
/**
143
- * Sets the currently validated constraint.
144
- *
145
- * @internal Used by the validator engine. Should not be called by user
146
- * code.
137
+ * Warning: Should not be called by user code, to be used by the validator engine only.
147
138
*/
148
139
public function setConstraint (Constraint $ constraint ): void ;
149
140
150
141
/**
151
- * Marks an object as validated in a specific validation group .
142
+ * Warning: Should not be called by user code, to be used by the validator engine only .
152
143
*
153
144
* @param string $cacheKey The hash of the object
154
145
* @param string $groupHash The group's name or hash, if it is group
155
146
* sequence
156
- *
157
- * @internal Used by the validator engine. Should not be called by user
158
- * code.
159
147
*/
160
148
public function markGroupAsValidated (string $ cacheKey , string $ groupHash ): void ;
161
149
162
150
/**
163
- * Returns whether an object was validated in a specific validation group .
151
+ * Warning: Should not be called by user code, to be used by the validator engine only .
164
152
*
165
153
* @param string $cacheKey The hash of the object
166
154
* @param string $groupHash The group's name or hash, if it is group
167
155
* sequence
168
156
*
169
- * @internal Used by the validator engine
170
157
*/
171
158
public function isGroupValidated (string $ cacheKey , string $ groupHash ): bool ;
172
159
173
160
/**
174
- * Marks a constraint as validated for an object .
161
+ * Warning: Should not be called by user code, to be used by the validator engine only .
175
162
*
176
163
* @param string $cacheKey The hash of the object
177
164
* @param string $constraintHash The hash of the constraint
178
- *
179
- * @internal Used by the validator engine. Should not be called by user
180
- * code.
181
165
*/
182
166
public function markConstraintAsValidated (string $ cacheKey , string $ constraintHash ): void ;
183
167
184
168
/**
185
- * Returns whether a constraint was validated for an object .
169
+ * Warning: Should not be called by user code, to be used by the validator engine only .
186
170
*
187
171
* @param string $cacheKey The hash of the object
188
172
* @param string $constraintHash The hash of the constraint
189
173
*
190
- * @internal Used by the validator engine
191
174
*/
192
175
public function isConstraintValidated (string $ cacheKey , string $ constraintHash ): bool ;
193
176
194
177
/**
195
- * Marks that an object was initialized .
178
+ * Warning: Should not be called by user code, to be used by the validator engine only .
196
179
*
197
180
* @param string $cacheKey The hash of the object
198
181
*
199
- * @internal Used by the validator engine. Should not be called by user
200
- * code.
201
- *
202
182
* @see ObjectInitializerInterface
203
183
*/
204
184
public function markObjectAsInitialized (string $ cacheKey ): void ;
205
185
206
186
/**
207
- * Returns whether an object was initialized .
187
+ * Warning: Should not be called by user code, to be used by the validator engine only .
208
188
*
209
189
* @param string $cacheKey The hash of the object
210
190
*
211
- * @internal Used by the validator engine
212
191
*
213
192
* @see ObjectInitializerInterface
214
193
*/
0 commit comments