forked from AliasIO/Swiftlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Plugin.php
33 lines (30 loc) · 626 Bytes
/
Plugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
namespace Swiftlet;
/**
* Plugin class
*
* @abstract
* @property Interfaces\App $app
* @property Interfaces\Controller $controller
* @property Interfaces\View $view
*/
abstract class Plugin implements Interfaces\Plugin
{
protected
$app,
$controller,
$view
;
/**
* Constructor
* @param Interfaces\App $app
* @param Interfaces\View $view
* @param Interfaces\Controller $controller
*/
public function __construct(Interfaces\App $app, Interfaces\View $view, Interfaces\Controller $controller)
{
$this->app = $app;
$this->view = $view;
$this->controller = $controller;
}
}