Skip to content

Commit 1e202b8

Browse files
gary houbreOskarStark
gary houbre
authored andcommitted
Missing Namespace
1 parent af2508e commit 1e202b8

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

291291
// src/Kernel.php
292+
namespace App;
293+
292294
use App\Event\MyCustomEvent;
293295
use Symfony\Component\DependencyInjection\ContainerBuilder;
294296
use Symfony\Component\EventDispatcher\DependencyInjection\AddEventAliasesPass;

0 commit comments

Comments
 (0)