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

Commit89189b0

Browse files
committed
minor#7330 [Fix][Console] Missing autoloading by Composer (20uf)
This PR was submitted for the 3.2 branch but it was merged into the 2.7 branch instead (closes#7330).Discussion----------[Fix][Console] Missing autoloading by ComposerHello,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,Commits-------47a529b [Fix][Console] Missing autoloading by Composer
2 parents0211fce +47a529b commit89189b0

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