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
// If onBind() is overridden then logic has been executed
49
+
if ($this->bc) {
50
+
@trigger_error('The onBind() method is deprecated since version 3.1 and will be removed in 4.0. Use the onSubmit() method instead.', E_USER_DEPRECATED);
51
+
52
+
return;
53
+
}
54
+
39
55
$collection = $event->getForm()->getData();
40
56
$data = $event->getData();
41
57
@@ -52,10 +68,8 @@ public function onSubmit(FormEvent $event)
52
68
* @deprecated since version 3.1, to be removed in 4.0.
53
69
* Use {@link onSubmit()} instead.
54
70
*/
55
-
publicfunctiononBind(FormEvent$event)
71
+
publicfunctiononBind()
56
72
{
57
-
@trigger_error('The '.__METHOD__.' method is deprecated since version 3.1 and will be removed in 4.0. Use the onSubmit() method instead.', E_USER_DEPRECATED);