File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -140,11 +140,10 @@ interface and have an event method for each event it subscribes to::
140
140
// src/EventListener/SearchIndexerSubscriber.php
141
141
namespace App\EventListener;
142
142
143
- use AppBundle \Entity\Product;
143
+ use App \Entity\Product;
144
144
use Doctrine\Common\EventSubscriber;
145
145
// for Doctrine < 2.4: use Doctrine\ORM\Event\LifecycleEventArgs;
146
146
use Doctrine\Common\Persistence\Event\LifecycleEventArgs;
147
- use App\Entity\Product;
148
147
use Doctrine\ORM\Events;
149
148
150
149
class SearchIndexerSubscriber implements EventSubscriber
Original file line number Diff line number Diff line change @@ -693,8 +693,8 @@ the choice is ultimately up to you.
693
693
The form name is automatically generated from the type class name. If you want
694
694
to modify it, use the :method: `Symfony\\ Component\\ Form\\ FormFactoryInterface::createNamed ` method::
695
695
696
- // src/AppBundle/ Controller/DefaultController.php
697
- use AppBundle \Form\TaskType;
696
+ // src/Controller/DefaultController.php
697
+ use App \Form\TaskType;
698
698
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
699
699
700
700
class DefaultController extends AbstractController
Original file line number Diff line number Diff line change @@ -172,20 +172,17 @@ Symfony's MonologBridge provides processors that can be registered inside your a
172
172
:class: `Symfony\\ Bridge\\ Monolog\\ Processor\\ WebProcessor `
173
173
Overrides data from the request using the data inside Symfony's request
174
174
object.
175
-
175
+
176
176
:class: `Symfony\\ Bridge\\ Monolog\\ Processor\\ RouteProcessor `
177
177
Adds information about current route (controller, action, route parameters).
178
-
178
+
179
179
:class: `Symfony\\ Bridge\\ Monolog\\ Processor\\ ConsoleCommandProcessor `
180
180
Adds information about current console command.
181
181
182
- .. versionadded :: 3.4
183
-
184
- The ``TokenProcessor `` class was introduced in Symfony 3.4.
185
-
186
182
.. versionadded :: 4.3
187
183
188
- The ``RouteProcessor `` and the ``ConsoleCommandProcessor `` were introduced in Symfony 4.3.
184
+ The ``RouteProcessor `` and the ``ConsoleCommandProcessor `` were introduced
185
+ in Symfony 4.3.
189
186
190
187
Registering Processors per Handler
191
188
----------------------------------
You can’t perform that action at this time.
0 commit comments