Completed
Push — master ( 59134c...f5448c )
by ARCANEDEV
03:33
created

SeoServiceProvider::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 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php namespace Arcanesoft\Seo;
2
3
use Arcanesoft\Core\Bases\PackageServiceProvider;
4
5
/**
6
 * Class     SeoServiceProvider
7
 *
8
 * @package  Arcanesoft\Seo
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class SeoServiceProvider extends PackageServiceProvider
0 ignored issues
show
Bug introduced by
There is one abstract method getBasePath in this class; you could implement it, or declare this class as abstract.
Loading history...
12
{
13
    /* -----------------------------------------------------------------
14
     |  Properties
15
     | -----------------------------------------------------------------
16
     */
17
    /**
18
     * Package name.
19
     *
20
     * @var string
21
     */
22
    protected $package = 'seo';
23
24
    /* -----------------------------------------------------------------
25
     |  Main Methods
26
     | -----------------------------------------------------------------
27
     */
28
    /**
29
     * Register the service provider.
30
     */
31 16
    public function register()
32
    {
33 16
        parent::register();
34
35 16
        $this->registerConfig();
36 16
        $this->registerSidebarItems();
37 16
        $this->registerProvider(Providers\PackagesServiceProvider::class);
38 16
    }
39
40
    /**
41
     * Boot the service provider.
42
     */
43 16
    public function boot()
44
    {
45 16
        parent::boot();
46
47 16
        $this->registerProvider(Providers\RouteServiceProvider::class);
48
49
        // Publishes
50 16
        $this->publishConfig();
51 16
        $this->publishViews();
52 16
        $this->publishTranslations();
53 16
        $this->publishSidebarItems();
54 16
    }
55
56
    /**
57
     * Get the services provided by the provider.
58
     *
59
     * @return array
60
     */
61 4
    public function provides()
62
    {
63
        return [
64
            //
65 4
        ];
66
    }
67
}
68