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

Commitc8e3422

Browse files
committed
minor#16443 Update extension.rst (issamkhadiri1989)
This PR was submitted for the 6.0 branch but it was merged into the 4.4 branch instead.Discussion----------Update extension.rstwhen using `DependencyInjection\Extension\Extension`, the `addAnnotatedClassesToCompile` is not available. so it should be mentionned that we need to use `HttpKernel\DependencyInjection\Extension` instead when the method `addAnnotatedClassesToCompile` must be used<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/releases for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `6.x` for features of unreleased versions).-->Commits-------7e3106b Update extension.rst
2 parentsf2b24d0 +7e3106b commitc8e3422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎bundles/extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This is how the extension of an AcmeHelloBundle should look like::
3434
namespace Acme\HelloBundle\DependencyInjection;
3535

3636
use Symfony\Component\DependencyInjection\ContainerBuilder;
37-
use Symfony\Component\DependencyInjection\Extension\Extension;
37+
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
3838

3939
class AcmeHelloExtension extends Extension
4040
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp