Skip to content

[DI] Explain that "class FQCN as service IDs" doesn't always work #7935

Closed
@javiereguiluz

Description

@javiereguiluz

As explained in symfony/symfony#22851, you can't always use FQCN as service IDs. Specifically, classes that don't use namespaces won't work (e.g. anything related to Twig).

Although the error message is clear, let's make sure that we mention this limitation somewhere.

Metadata

Metadata

Assignees

Labels

DependencyInjectionhasPRA Pull Request has already been submitted for this issue.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions