Skip to content
This repository was archived by the owner on May 16, 2026. It is now read-only.

Allow ServiceProviderContract::handle(...) to return false|object #1

@tlmcclatchey

Description

@tlmcclatchey

This method can either return the instantiated object or false. If false is returned, then the DI should instantiate it. This allows a specific class to be dynamically managed by the DI while not requiring a singleton state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions