Unify main class dependencies and definition

This commit is contained in:
Fedor A. Fetisov 2018-08-07 16:57:43 +03:00
parent 125234fccb
commit 1a154c59b4
2 changed files with 3 additions and 4 deletions

View File

@ -27,15 +27,14 @@ use Canteen\HTML5;
use Mibew\Button\Generator\ImageGenerator; use Mibew\Button\Generator\ImageGenerator;
use Mibew\EventDispatcher\EventDispatcher; use Mibew\EventDispatcher\EventDispatcher;
use Mibew\EventDispatcher\Events; use Mibew\EventDispatcher\Events;
use Mibew\Plugin\AbstractPlugin; use Mibew\Plugin\PluginManager;
use Mibew\Plugin\PluginInterface;
/** /**
* The main plugin's file definition. * The main plugin's file definition.
* *
* It only attaches handlers to some events. * It only attaches handlers to some events.
*/ */
class Plugin extends AbstractPlugin implements PluginInterface class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\PluginInterface
{ {
/** /**
* List of the plugin configs. * List of the plugin configs.

View File

@ -1,6 +1,6 @@
{ {
"name": "button-refresh-plugin", "name": "button-refresh-plugin",
"version": "0.1.0", "version": "0.1.1",
"description": "A plugin for Mibew that makes the button represents the actual operators state.", "description": "A plugin for Mibew that makes the button represents the actual operators state.",
"private": true, "private": true,
"bugs": { "bugs": {