-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlugin.php
More file actions
34 lines (29 loc) · 990 Bytes
/
Plugin.php
File metadata and controls
34 lines (29 loc) · 990 Bytes
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
34
<?php namespace NumenCode\DropboxAdapter;
use System\Classes\PluginBase;
use NumenCode\DropboxAdapter\Console\DropboxSetupCommand;
use NumenCode\DropboxAdapter\Providers\DropboxServiceProvider;
class Plugin extends PluginBase
{
public function pluginDetails()
{
return [
'name' => 'numencode.dropboxadapter::lang.plugin.name',
'description' => 'numencode.dropboxadapter::lang.plugin.description',
'author' => 'Blaz Orazem',
'icon' => 'icon-dropbox',
'homepage' => 'https://github.com/numencode/wn-dropboxadapter-plugin',
];
}
public function boot()
{
$this->app->register(DropboxServiceProvider::class);
}
public function register()
{
$this->registerConsoleCommands();
}
protected function registerConsoleCommands()
{
$this->registerConsoleCommand('numencode.dropboxadapter_setup', DropboxSetupCommand::class);
}
}