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