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