mirror of
https://github.com/zoe-may/TDoG-Skin.git
synced 2024-11-24 05:42:19 +08:00
21 lines
406 B
PHP
Executable File
21 lines
406 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Services\PluginManager;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class PluginServiceProvider extends ServiceProvider
|
|
{
|
|
public function register()
|
|
{
|
|
$this->app->singleton(PluginManager::class);
|
|
$this->app->alias(PluginManager::class, 'plugins');
|
|
}
|
|
|
|
public function boot(PluginManager $plugins)
|
|
{
|
|
$plugins->boot();
|
|
}
|
|
}
|