?
avatar tonypartridge
tonypartridge
17 Nov 2017

What is the desired replacement for Registry::getInstance(); ?

avatar tonypartridge tonypartridge - open - 17 Nov 2017
avatar joomla-cms-bot joomla-cms-bot - change - 17 Nov 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Nov 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 18 Nov 2017
Category Code style
avatar franz-wohlkoenig franz-wohlkoenig - change - 18 Nov 2017
Title
[4.0 Alpha] - Registry::getInstance(); replacement?
[4.0] - Registry::getInstance(); replacement?
avatar joomla-cms-bot joomla-cms-bot - edited - 18 Nov 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 18 Nov 2017
Title
[4.0] - Registry::getInstance(); replacement?
[4.0] Registry::getInstance(); replacement?
avatar joomla-cms-bot joomla-cms-bot - edited - 18 Nov 2017
avatar mbabker
mbabker - comment - 18 Nov 2017
use Joomla\Registry\Registry;

new Registry;

The registry no longer supports singleton instances and the method was removed. See https://github.com/joomla-framework/registry/blob/2.0-dev/docs/v1-to-v2-update.md for more updates related to the Registry package.

avatar mbabker mbabker - change - 18 Nov 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-11-18 08:45:38
Closed_By mbabker
avatar mbabker mbabker - close - 18 Nov 2017

Add a Comment

Login with GitHub to post a comment