File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -634,7 +634,7 @@ being transferred and processed by its handler::
634
634
return $this->schedule ??= (new Schedule())
635
635
->with(
636
636
// ...
637
- );
637
+ )
638
638
->before(function(PreRunEvent $event) {
639
639
$message = $event->getMessage();
640
640
$messageContext = $event->getMessageContext();
@@ -647,13 +647,13 @@ being transferred and processed by its handler::
647
647
648
648
// allow to call the ShouldCancel() and avoid the message to be handled
649
649
$event->shouldCancel(true);
650
- }
650
+ })
651
651
->after(function(PostRunEvent $event) {
652
652
// Do what you want
653
- }
653
+ })
654
654
->onFailure(function(FailureEvent $event) {
655
655
// Do what you want
656
- }
656
+ });
657
657
}
658
658
}
659
659
Original file line number Diff line number Diff line change @@ -329,8 +329,8 @@ as follows:
329
329
Build, Versioning & More Advanced CSS, JavaScript and Image Handling
330
330
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
331
331
332
- For help building, versioning and minifying your JavaScript and
333
- CSS assets in a modern way, read about :doc: `Symfony's Webpack Encore </frontend >`.
332
+ For help building and versioning your JavaScript and
333
+ CSS assets in a modern way, read about :doc: `Symfony's AssetMapper </frontend >`.
334
334
335
335
.. _twig-app-variable :
336
336
@@ -1070,7 +1070,7 @@ JavaScript library.
1070
1070
1071
1071
First, include the `hinclude.js `_ library in your page
1072
1072
:ref: `linking to it <templates-link-to-assets >` from the template or adding it
1073
- to your application JavaScript :doc: `using Webpack Encore </frontend >`.
1073
+ to your application JavaScript :doc: `using AssetMapper </frontend >`.
1074
1074
1075
1075
As the embedded content comes from another page (or controller for that matter),
1076
1076
Symfony uses a version of the standard ``render() `` function to configure
You can’t perform that action at this time.
0 commit comments