2014-02-25 20:40:00 +01:00
|
|
|
<?php
|
2016-07-19 20:28:11 +02:00
|
|
|
namespace PHPCensor\Plugin\Util;
|
2014-02-25 20:40:00 +01:00
|
|
|
|
2014-12-08 12:25:33 +01:00
|
|
|
/**
|
|
|
|
* Interface InstalledPluginInformation
|
2016-07-21 19:20:59 +02:00
|
|
|
* @package PHPCensor\Plugin\Util
|
2014-12-08 12:25:33 +01:00
|
|
|
*/
|
2014-02-25 20:40:00 +01:00
|
|
|
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();
|
2014-02-27 15:02:21 +01:00
|
|
|
}
|