From 84fbc74be962e4203b79667eca60efa9d511242c Mon Sep 17 00:00:00 2001 From: autiquet axel Date: Wed, 6 Apr 2016 17:22:27 +0200 Subject: [PATCH] Fix form/validation directory path --- components/form/introduction.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/form/introduction.rst b/components/form/introduction.rst index 67de784bdfb..d5a30a116a3 100644 --- a/components/form/introduction.rst +++ b/components/form/introduction.rst @@ -318,9 +318,8 @@ Your integration with the Validation component will look something like this:: use Symfony\Component\Validator\Validation; $vendorDir = realpath(__DIR__.'/../vendor'); - $vendorFormDir = $vendorDir.'/symfony/form/Symfony/Component/Form'; - $vendorValidatorDir = - $vendorDir.'/symfony/validator/Symfony/Component/Validator'; + $vendorFormDir = $vendorDir.'/symfony/form'; + $vendorValidatorDir = $vendorDir.'/symfony/validator'; // create the validator - details will vary $validator = Validation::createValidator();