@@ -123,107 +123,80 @@ public function getValidator();
123123public function getObject ();
124124
125125/**
126- *Sets thecurrently validated value .
126+ *Warning: Should not be called by user code, to be used by thevalidator engine only .
127127 *
128128 * @param mixed $value The validated value
129129 * @param object|null $object The currently validated object
130130 * @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.
134131 */
135132public function setNode ($ value , ?object $ object ,MetadataInterface $ metadata =null ,string $ propertyPath );
136133
137134/**
138- *Sets thecurrently validated group .
135+ *Warning: Should not be called by user code, to be used by thevalidator engine only .
139136 *
140137 * @param string|null $group The validated group
141- *
142- * @internal Used by the validator engine. Should not be called by user
143- * code.
144138 */
145139public function setGroup (?string $ group );
146140
147141/**
148- * Sets the currently validated constraint.
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.
152143 */
153144public function setConstraint (Constraint $ constraint );
154145
155146/**
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 .
157148 *
158149 * @param string $cacheKey The hash of the object
159150 * @param string $groupHash The group's name or hash, if it is group
160151 * sequence
161- *
162- * @internal Used by the validator engine. Should not be called by user
163- * code.
164152 */
165153public function markGroupAsValidated (string $ cacheKey ,string $ groupHash );
166154
167155/**
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 .
169157 *
170158 * @param string $cacheKey The hash of the object
171159 * @param string $groupHash The group's name or hash, if it is group
172160 * sequence
173161 *
174162 * @return bool
175- *
176- * @internal Used by the validator engine. Should not be called by user
177- * code.
178163 */
179164public function isGroupValidated (string $ cacheKey ,string $ groupHash );
180165
181166/**
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 .
183168 *
184169 * @param string $cacheKey The hash of the object
185170 * @param string $constraintHash The hash of the constraint
186- *
187- * @internal Used by the validator engine. Should not be called by user
188- * code.
189171 */
190172public function markConstraintAsValidated (string $ cacheKey ,string $ constraintHash );
191173
192174/**
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 .
194176 *
195177 * @param string $cacheKey The hash of the object
196178 * @param string $constraintHash The hash of the constraint
197179 *
198180 * @return bool
199- *
200- * @internal Used by the validator engine. Should not be called by user
201- * code.
202181 */
203182public function isConstraintValidated (string $ cacheKey ,string $ constraintHash );
204183
205184/**
206- *Marks that an object was initialized .
185+ *Warning: Should not be called by user code, to be used by the validator engine only .
207186 *
208187 * @param string $cacheKey The hash of the object
209188 *
210- * @internal Used by the validator engine. Should not be called by user
211- * code.
212- *
213189 * @see ObjectInitializerInterface
214190 */
215191public function markObjectAsInitialized (string $ cacheKey );
216192
217193/**
218- *Returns whether an object was initialized .
194+ *Warning: Should not be called by user code, to be used by the validator engine only .
219195 *
220196 * @param string $cacheKey The hash of the object
221197 *
222198 * @return bool
223199 *
224- * @internal Used by the validator engine. Should not be called by user
225- * code.
226- *
227200 * @see ObjectInitializerInterface
228201 */
229202public function isObjectInitialized (string $ cacheKey );