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

DocumentarianServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 8
rs 10
c 0
b 0
f 0
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