Loading a plugin should be decoupled form adding an instance to the registry. This would allow having the same plugin being instantiated multiple times with different configuration.
The following definition should load the plugin once and then create different instances:
Loading a plugin should be decoupled form adding an instance to the registry. This would allow having the same plugin being instantiated multiple times with different configuration.
The following definition should load the plugin once and then create different instances: