Skip to content

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions