Skip to content

Commit 355fc81

Browse files
committed
minor #9530 Update form.rst (atailouloute)
This PR was merged into the 4.0 branch. Discussion ---------- Update form.rst namespaces updated to be coherent with SF4 structure Commits ------- c0f70e1 Update form.rst
2 parents 10128a1 + c0f70e1 commit 355fc81

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/form.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,8 @@ builder:
461461
462462
.. code-block:: php-symfony
463463
464-
// src/Acme/TaskBundle/Controller/DefaultController.php
465-
namespace Acme\TaskBundle\Controller;
464+
// src/Controller/DefaultController.php
465+
namespace App\Controller;
466466
467467
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
468468
use Symfony\Component\Form\Extension\Core\Type\TextType;
@@ -543,8 +543,8 @@ by ``handleRequest()`` to determine whether a form has been submitted):
543543
544544
.. code-block:: php-symfony
545545
546-
// src/Acme/TaskBundle/Controller/DefaultController.php
547-
namespace Acme\TaskBundle\Controller;
546+
// src/Controller/DefaultController.php
547+
namespace App\Controller;
548548
549549
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
550550
use Symfony\Component\Form\Extension\Core\Type\FormType;
@@ -681,8 +681,8 @@ option when building each field:
681681
682682
.. code-block:: php-symfony
683683
684-
// src/Acme/TaskBundle/Controller/DefaultController.php
685-
namespace Acme\TaskBundle\Controller;
684+
// src/Controller/DefaultController.php
685+
namespace App\Controller;
686686
687687
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
688688
use Symfony\Component\Validator\Constraints\NotBlank;

0 commit comments

Comments
 (0)