Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit47a529b

Browse files
20ufxabbuh
authored andcommitted
[Fix][Console] Missing autoloading by Composer
Hello,The good practice is to use the autoloading mechanism provided by composer, except I notice that on this documentation it lacks the essential to make the example work.Seehttp://symfony.com/doc/current/components/console/usage.html#using-console-commands-shortcuts-and-built-in-commandsI note that there is the call of the autoload in the other documents, for example:http://symfony.com/doc/current/components/console/single_command_tool.htmlRegards,
1 parent0211fce commit47a529b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎components/console/usage.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ built-in options as well as a couple of built-in commands for the Console compon
1616
<?php
1717
// application.php
1818

19+
require __DIR__.'/vendor/autoload.php';
20+
1921
use Symfony\Component\Console\Application;
2022

2123
$application = new Application();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp