From 23fed6b273149ad2a3d4daaf8c8ae5b09d8a3538 Mon Sep 17 00:00:00 2001 From: "Issei.M" Date: Mon, 10 Aug 2015 00:39:06 +0900 Subject: [PATCH] updated validation.rst --- book/validation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/validation.rst b/book/validation.rst index 5f250721c1a..ac03fc8f5fc 100644 --- a/book/validation.rst +++ b/book/validation.rst @@ -212,7 +212,7 @@ The ``validator`` service can be used at any time to validate any object. In reality, however, you'll usually work with the ``validator`` indirectly when working with forms. Symfony's form library uses the ``validator`` service internally to validate the underlying object after values have been submitted. -The constraint violations on the object are converted into ``FieldError`` +The constraint violations on the object are converted into ``FormError`` objects that can easily be displayed with your form. The typical form submission workflow looks like the following from inside a controller::