public function addLoadedPlugin($pluginName, Plugin $newPlugin)
    {
        $this->resetTransientCache();

        $this->loadedPlugins[$pluginName] = $newPlugin;
    }
public function addLoadedPlugin($pluginName, Plugin $newPlugin)
    {
        $this->resetTransientCache();

        $this->loadedPlugins[$pluginName] = $newPlugin;
    }
public function addLoadedPlugin ( $ pluginName , Plugin $ newPlugin ) { $ this -> resetTransientCache ( ) ; $ this -> loadedPlugins [ $ pluginName ] = $ newPlugin ; }
Add a plugin in the loaded plugins array

@param string $pluginName plugin name without prefix (eg. 'UserCountry')
@param Plugin $newPlugin
@internal
Add a plugin in the loaded plugins array