Skip to content

Commit 5fe07dc

Browse files
committed
Merge branch '4.0'
2 parents 5d22328 + e06565d commit 5fe07dc

File tree

11 files changed

+489
-373
lines changed

11 files changed

+489
-373
lines changed

_build/redirection_map

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,3 +386,4 @@
386386
/request/load_balancer_reverse_proxy /deployment/proxies
387387
/quick_tour/the_controller /quick_tour/the_big_picture
388388
/quick_tour/the_view /quick_tour/flex_recipes
389+
/service_container/service_locators /service_container/service_subscribers_locators

components/form.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -461,16 +461,16 @@ 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;
469469
use Symfony\Component\Form\Extension\Core\Type\DateType;
470470
471471
class DefaultController extends Controller
472472
{
473-
public function newAction(Request $request)
473+
public function new(Request $request)
474474
{
475475
$defaults = array(
476476
'dueDate' => new \DateTime('tomorrow'),
@@ -543,15 +543,15 @@ 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;
551551
552552
class DefaultController extends Controller
553553
{
554-
public function searchAction()
554+
public function search()
555555
{
556556
$formBuilder = $this->createFormBuilder(null, array(
557557
'action' => '/search',
@@ -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;
@@ -692,7 +692,7 @@ option when building each field:
692692
693693
class DefaultController extends Controller
694694
{
695-
public function newAction(Request $request)
695+
public function new(Request $request)
696696
{
697697
$form = $this->createFormBuilder()
698698
->add('task', TextType::class, array(

components/var_dumper/advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ being cloned in an array. They are callables that accept five arguments:
319319
* a :class:`Symfony\\Component\\VarDumper\\Cloner\\Stub` object
320320
representing the main properties of the object (class, type, etc.);
321321
* true/false when the caster is called nested in a structure or not;
322-
* A bit field of :class:`Symfony\\Component\\VarDumper\\Caster\\Caster```::EXCLUDE_*``
322+
* A bit field of :class:`Symfony\\Component\\VarDumper\\Caster\\Caster` ``::EXCLUDE_*``
323323
constants.
324324

325325
Here is a simple caster not doing anything::

0 commit comments

Comments
 (0)