private function removePlugins($plugins)
    {
        foreach ($plugins as $pluginToBeRemoved) {
            $this
                ->pluginObjectManager
                ->remove($pluginToBeRemoved);

            $this
                ->pluginObjectManager
                ->flush($pluginToBeRemoved);
        }

        return $this;
    }
private function removePlugins($plugins)
    {
        foreach ($plugins as $pluginToBeRemoved) {
            $this
                ->pluginObjectManager
                ->remove($pluginToBeRemoved);

            $this
                ->pluginObjectManager
                ->flush($pluginToBeRemoved);
        }

        return $this;
    }
private function removePlugins ( $ plugins ) { foreach ( $ plugins as $ pluginToBeRemoved ) { $ this -> pluginObjectManager -> remove ( $ pluginToBeRemoved ) ; $ this -> pluginObjectManager -> flush ( $ pluginToBeRemoved ) ; } return $ this ; }
Remove a set of Plugins from database.

@param Plugin[] $plugins Plugins

@return $this Self object
Remove a set of Plugins from database .