Skip to content

Container - share method removed #811

Description

@A-Lawrence

The share method has been removed from the container. This was a legacy method that has not been documented in several years. If we are using this method (might be worth just verifying modules), we need to consider an approach like pushing singleton PRs to those modules:

$container->singleton('foo', function () {
    return 'foo';
});

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions