Skip to content

Commit bd628d8

Browse files
committed
Merge branch '5.1' into 5.x
* 5.1: Missing Namespace
2 parents 1393609 + 1a80dc5 commit bd628d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

event_dispatcher.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ This alias mapping can be extended for custom events by registering the
284284
compiler pass ``AddEventAliasesPass``::
285285

286286
// src/Kernel.php
287+
namespace App;
288+
287289
use App\Event\MyCustomEvent;
288290
use Symfony\Component\DependencyInjection\ContainerBuilder;
289291
use Symfony\Component\EventDispatcher\DependencyInjection\AddEventAliasesPass;

0 commit comments

Comments
 (0)