Skip to content

Commit

Permalink
bug #4641 Add missing autoload include in basic console application e…
Browse files Browse the repository at this point in the history
…xample (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
  • Loading branch information
weaverryan committed Dec 22, 2014
2 parents f4a7196 + f6fac50 commit a137918
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/console/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ an ``Application`` and adds commands to it::
<?php
// application.php

require __DIR__.'/vendor/autoload.php';

use Acme\Console\Command\GreetCommand;
use Symfony\Component\Console\Application;

Expand Down

0 comments on commit a137918

Please sign in to comment.