Skip to content

Document synthetic services #2671

@wouterj

Description

@wouterj

I just discovered that we haven't any docs about synthetic services.

Synthetic services are services which are injected later on. For instance, the kernel service is synthetic, because it's injected later on:

<service id="kernel" synthetic="true" />
class Kernel
{
// ...
   pubic function initializeContainer()
   {
       // ...
       $container->set('kernel', $this);
   }
}

It should get documented in an article under components/dependency_injection

Metadata

Metadata

Assignees

No one assigned

    Labels

    DependencyInjectionactionableClear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy