Skip to content

[DI] ContainerInterface lacks documentation regarding behavior constants #8759

@kiler129

Description

@kiler129

\Symfony\Component\DependencyInjection\ContainerInterface contains the following constants:

    const EXCEPTION_ON_INVALID_REFERENCE = 1;
    const NULL_ON_INVALID_REFERENCE = 2;
    const IGNORE_ON_INVALID_REFERENCE = 3;
    const IGNORE_ON_UNINITIALIZED_REFERENCE = 4;

The documentation for their usage with get() is nowhere to be found. I tried looking for their usage in the Symfony code, but deciphering what they precisely do (and what's the actual intention of using them) is rather hard.

Maybe we should document that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    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