forked from octoberrain/drivers-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Plugin.php
36 lines (32 loc) · 918 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
36
<?php namespace October\Drivers;
use System\Classes\PluginBase;
use Illuminate\Foundation\AliasLoader;
/**
* Drivers Plugin Information File
*/
class Plugin extends PluginBase
{
/**
* Returns information about this plugin.
*
* @return array
*/
public function pluginDetails()
{
return [
'name' => 'Drivers',
'description' => 'Provider of third party drivers',
'author' => 'October',
'icon' => 'icon-leaf',
'homepage' => 'https://github.com/octoberrain/drivers-plugin'
];
}
public function boot()
{
// Register ServiceProviders
\App::register('Collective\Remote\RemoteServiceProvider');
// Register aliases
$alias = \Illuminate\Foundation\AliasLoader::getInstance();
$alias->alias('SSH', 'Collective\Remote\RemoteFacade');
}
}