php-censor/src/PHPCensor/Plugin/Util/InstalledPluginInformation.php
2016-07-21 23:20:59 +06:00

27 lines
694 B
PHP

<?php
namespace PHPCensor\Plugin\Util;
/**
* Interface InstalledPluginInformation
* @package PHPCensor\Plugin\Util
*/
interface InstalledPluginInformation
{
/**
* Returns an array of objects. Each one represents an available plugin
* and will have the following properties:
* name - The friendly name of the plugin (may be an empty string)
* class - The class of the plugin (will include namespace)
* @return \stdClass[]
*/
public function getInstalledPlugins();
/**
* Returns an array of all the class names of plugins that have been
* loaded.
*
* @return string[]
*/
public function getPluginClasses();
}