| 1 |
<?php |
| 2 |
|
| 3 |
namespace SpringDevs\Subscription; |
| 4 |
|
| 5 |
use SpringDevs\Subscription\Admin\Required; |
| 6 |
use SpringDevs\Subscription\Admin\Links; |
| 7 |
use SpringDevs\Subscription\Admin\Menu; |
| 8 |
use SpringDevs\Subscription\Admin\Order as AdminOrder; |
| 9 |
use SpringDevs\Subscription\Admin\Product; |
| 10 |
use SpringDevs\Subscription\Admin\Settings; |
| 11 |
use SpringDevs\Subscription\Admin\Subscriptions; |
| 12 |
use SpringDevs\Subscription\Illuminate\Comments; |
| 13 |
|
| 14 |
/** |
| 15 |
* The admin class |
| 16 |
*/ |
| 17 |
class Admin { |
| 18 |
|
| 19 |
/** |
| 20 |
* Initialize the class |
| 21 |
*/ |
| 22 |
public function __construct() { |
| 23 |
$this->dispatch_actions(); |
| 24 |
new Required(); |
| 25 |
new Menu(); |
| 26 |
new Product(); |
| 27 |
new Subscriptions(); |
| 28 |
new AdminOrder(); |
| 29 |
new Comments(); |
| 30 |
new Settings(); |
| 31 |
new Links(); |
| 32 |
} |
| 33 |
|
| 34 |
/** |
| 35 |
* Dispatch and bind actions |
| 36 |
* |
| 37 |
* @return void |
| 38 |
*/ |
| 39 |
public function dispatch_actions() { |
| 40 |
} |
| 41 |
} |
| 42 |
|