original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Tries to get a QuickAppsCMS plugin.
  
  @param string $package Full package name
  @return bool|\CMS\Core\Package\PluginPackage
docstring_tokens: Tries to get a QuickAppsCMS plugin .