Completed
Pull Request — master (#24)
by Robbie
11:02
created

DocumentarianServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 8 1
1
<?php
2
3
namespace Mpociot\Documentarian;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class DocumentarianServiceProvider extends ServiceProvider
8
{
9
    public function boot()
10
    {
11
        $this->loadViewsFrom(__DIR__ . '/../resources/views/', 'documentarian');
12
13
        $this->publishes([
14
            __DIR__ . '/../resources/views' => resource_path('views/vendor/documentarian'),
15
        ], 'documentarian-views');
16
    }
17
}
18