You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Use the setNormalizationCallbacks() method instead.', E_USER_DEPRECATED);
174
+
175
+
$this->normalizationCallbacks = $closures;
176
+
}
177
+
178
+
/**
179
+
* Sets the callbacks used for final validation.
180
+
*
181
+
* @param callable[] $callbacks An array of callbacks used for final validation
trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Use the setFinalValidationCallbacks() method instead.', E_USER_DEPRECATED);
198
+
199
+
$this->finalValidationCallbacks = $closures;
172
200
}
173
201
174
202
/**
@@ -235,7 +263,7 @@ final public function merge($leftSide, $rightSide)
235
263
}
236
264
237
265
/**
238
-
* Normalizes a value, applying all normalization closures.
266
+
* Normalizes a value, applying all normalization callbacks.
239
267
*
240
268
* @param mixed $value Value to normalize.
241
269
*
@@ -245,9 +273,9 @@ final public function normalize($value)
0 commit comments