Completed
Push — master ( b78cbc...6c45fe )
by ARCANEDEV
16s
created

LaravelNotesServiceProvider::getBasePath()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php namespace Arcanedev\LaravelNotes;
2
3
use Arcanedev\Support\PackageServiceProvider;
4
5
/**
6
 * Class     LaravelNotesServiceProvider
7
 *
8
 * @package  Arcanedev\LaravelNotes
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class LaravelNotesServiceProvider extends PackageServiceProvider
12
{
13
    /* -----------------------------------------------------------------
14
     |  Properties
15
     | -----------------------------------------------------------------
16
     */
17
18
    /**
19
     * Package name.
20
     *
21
     * @var string
22
     */
23
    protected $package = 'notes';
24
25
    /* -----------------------------------------------------------------
26
     |  Main Methods
27
     | -----------------------------------------------------------------
28
     */
29
30
    /**
31
     * Register the service provider.
32
     */
33 24
    public function register()
34
    {
35 24
        parent::register();
36
37 24
        $this->registerConfig();
38 24
    }
39
40
    /**
41
     * Boot the service provider.
42
     */
43 24
    public function boot()
44
    {
45 24
        parent::boot();
46
47 24
        $this->publishConfig();
48 24
        $this->loadMigrations();
49 24
    }
50
51
    /**
52
     * Get the services provided by the provider.
53
     *
54
     * @return array
55
     */
56 3
    public function provides()
57
    {
58 3
        return [];
59
    }
60
}
61