private function addPluginInDB()
    {
        $configContent = Plugin::config($this->pluginNamespace);

        $plugin = new Plugin();
        $plugin->title = $configContent->title;
        $plugin->namespace = $configContent->namespace;
        $plugin->organization = $configContent->organization;
        $plugin->version = $configContent->version;
        $plugin->isActive = 1;
        return $plugin->save();
    }
private function addPluginInDB()
    {
        $configContent = Plugin::config($this->pluginNamespace);

        $plugin = new Plugin();
        $plugin->title = $configContent->title;
        $plugin->namespace = $configContent->namespace;
        $plugin->organization = $configContent->organization;
        $plugin->version = $configContent->version;
        $plugin->isActive = 1;
        return $plugin->save();
    }
private function addPluginInDB ( ) { $ configContent = Plugin :: config ( $ this -> pluginNamespace ) ; $ plugin = new Plugin ( ) ; $ plugin -> title = $ configContent -> title ; $ plugin -> namespace = $ configContent -> namespace ; $ plugin -> organization = $ configContent -> organization ; $ plugin -> version = $ configContent -> version ; $ plugin -> isActive = 1 ; return $ plugin -> save ( ) ; }
Add plugin in database

@param  string $namespace
@return mixed
Add plugin in database