Skip to content

Commit 1a80dc5

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Missing Namespace
2 parents 896369e + fa17c23 commit 1a80dc5

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)