Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ce7fa39

Browse filesBrowse files
radnanweaverryan
authored andcommitted
include missing class instantiation in example code
1 parent 0f6cd89 commit ce7fa39
Copy full SHA for ce7fa39

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎components/console/events.rst

Copy file name to clipboardExpand all lines: components/console/events.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ the wheel, it uses the Symfony EventDispatcher component to do the work::
1414
use Symfony\Component\Console\Application;
1515
use Symfony\Component\EventDispatcher\EventDispatcher;
1616

17+
$dispatcher = new EventDispatcher();
18+
1719
$application = new Application();
1820
$application->setDispatcher($dispatcher);
1921
$application->run();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.