8000 [DI] Change the way hidden services are defined · Issue #27284 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[DI] Change the way hidden services are defined #27284
Closed
@javiereguiluz

Description

@javiereguiluz

Description
Change the way hidden services are defined.

Example
Originally asked for in this comment of the Symfony blog. Should we introduce a hidden option for services instead of relying on the leading . character in the service ID?

Before:

services:
    .App\Something\Foo: ~

After:

services:
    App\Something\Foo:
        hidden: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    DependencyInjectionFeatureRFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0