Skip to content

Commit 6f56270

Browse files
committed
Add missing autoload include in basic application example
1 parent 7b16d3b commit 6f56270

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/console/introduction.rst

+2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ an ``Application`` and adds commands to it::
8888
<?php
8989
// application.php
9090

91+
require __DIR__ . '/vendor/autoload.php';
92+
9193
use Acme\Console\Command\GreetCommand;
9294
use Symfony\Component\Console\Application;
9395

0 commit comments

Comments
 (0)