| 1 | <?php |
||
| 7 | abstract class AnaloguePlugin implements AnaloguePluginInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Manager instance |
||
| 11 | * |
||
| 12 | * @var Manager |
||
| 13 | */ |
||
| 14 | protected $manager; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * AnaloguePlugin constructor. |
||
| 18 | * @param Manager $manager |
||
| 19 | */ |
||
| 20 | public function __construct(Manager $manager) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Boot the plugin |
||
| 27 | * |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | abstract public function register(); |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get custom events provided by the plugin |
||
| 34 | * |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | abstract public function getCustomEvents(); |
||
| 38 | } |
||
| 39 |