Skip to content

Commit fa17c23

Browse files
committed
minor #14344 Missing Namespace from event dispatcher (TheGarious)
This PR was submitted for the master branch but it was merged into the 4.4 branch instead. Discussion ---------- Missing Namespace from event dispatcher <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 1e202b8 Missing Namespace
2 parents af2508e + 1e202b8 commit fa17c23

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)