Completed
Push — master ( acece9...67426a )
by ARCANEDEV
13s
created

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