Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a137918

Browse files
committed
bug symfony#4641 Add missing autoload include in basic console application example (senkal)
This PR was merged into the 2.3 branch. Discussion ---------- Add missing autoload include in basic console application example | Q | A | ------------------- | --- | Doc fix? | [yes] | New doc | [no] | Applies to | all | Fixed tick | Commits ------- f6fac50 Fix for symfony code standards 6f56270 Add missing autoload include in basic application example
2 parents f4a7196 + f6fac50 commit a137918

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/console/introduction.rst

Lines changed: 2 additions & 0 deletions
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)