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';
});
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: