Skip to content

ContainerInterace::has should never return "always true" #668

@mglaman

Description

@mglaman

Feature request

Consequence of #610

This caused ContainerInterace::has to be "always true", which may lead developers to removing if ($container->has() checks, causing actual bugs. Especially around conditional dependencies.

Slack thread for context: https://drupal.slack.com/archives/C033S2JUMLJ/p1701250878367139

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions