Skip to content

Commit 95ae221

Browse files
author
gary houbre
committed
Missing Namespace
1 parent 1b5f330 commit 95ae221

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
@@ -278,6 +278,8 @@ This alias mapping can be extended for custom events by registering the
278278
compiler pass ``AddEventAliasesPass``::
279279

280280
// src/Kernel.php
281+
namespace App;
282+
281283
use App\Event\MyCustomEvent;
282284
use Symfony\Component\DependencyInjection\ContainerBuilder;
283285
use Symfony\Component\EventDispatcher\DependencyInjection\AddEventAliasesPass;

0 commit comments

Comments
 (0)