protected static function _getPlugin($package)
    {
        list(, $plugin) = packageSplit($package, true);
        if (Plugin::exists($plugin)) {
            return new PluginPackage(
                quickapps("plugins.{$plugin}.name"),
                quickapps("plugins.{$plugin}.path")
            );
        }

        return false;
    }
protected static function _getPlugin($package)
    {
        list(, $plugin) = packageSplit($package, true);
        if (Plugin::exists($plugin)) {
            return new PluginPackage(
                quickapps("plugins.{$plugin}.name"),
                quickapps("plugins.{$plugin}.path")
            );
        }

        return false;
    }
protected static function _getPlugin ( $ package ) { list ( , $ plugin ) = packageSplit ( $ package , true ) ; if ( Plugin :: exists ( $ plugin ) ) { return new PluginPackage ( quickapps ( "plugins.{$plugin}.name" ) , quickapps ( "plugins.{$plugin}.path" ) ) ; } return false ; }
Tries to get a QuickAppsCMS plugin.

@param string $package Full package name
@return bool|\CMS\Core\Package\PluginPackage
Tries to get a QuickAppsCMS plugin .