Factories should be closer to the object that it is created. This is will help in understanding the code as one does not have to navigate to the Factory folder.
Refactor all the factories in Factory to the folder of the object that they are creating. For example, LmcRbacMvc\Factory\RoleServiceFactory should be refactored to LmcRbacMvc\Service\RoleServiceFactory.
Have the original factory extend the new factory and mark it as deprecated
Update ConfigProvider to use the new factories
Factories should be closer to the object that it is created. This is will help in understanding the code as one does not have to navigate to the Factory folder.
Refactor all the factories in Factory to the folder of the object that they are creating. For example, LmcRbacMvc\Factory\RoleServiceFactory should be refactored to LmcRbacMvc\Service\RoleServiceFactory. Have the original factory extend the new factory and mark it as deprecated Update ConfigProvider to use the new factories