-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathPlugin.php
35 lines (31 loc) · 818 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
34
35
<?php
namespace Flynsarmy\IdeHelper;
use App;
use Config;
use System\Classes\PluginBase;
/**
* IdeHelper Plugin Information File.
*/
class Plugin extends PluginBase
{
/**
* Returns information about this plugin.
*
* @return array
*/
public function pluginDetails()
{
return [
'name' => 'IdeHelper',
'description' => 'Make development easier with IDE helpers!',
'author' => 'Flynsarmy',
'icon' => 'icon-code',
'homepage' => 'https://github.com/Flynsarmy/oc-idehelper-plugin',
];
}
public function boot()
{
Config::set('ide-helper', Config::get('flynsarmy.idehelper::config'));
App::register('\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider');
}
}