Open sstok opened 10 years ago
The Rollerworks\Bundle\MultiUserBundle\Model\UserConfig
should be an Immutable class which does not know about services. This removes the need for lazy loading (and the proxy class).
For getting access to services we can introduce some like Rollerworks\Bundle\MultiUserBundle\Model\UserSystem
.
But this a potential BC break so I'd like to known if any one is depending on the UserConfig
for getting the user/group-manager in there code. This should actually be avoided.
I think it should be possible to do this without breaking BC. Mainly the internals will be rewritten, but for applications currently using this we can keep a BC layer.
Now if I only can find the time to work on this...
How to keep all the sections clean for UserDIConfig?