Completed
Pull Request — master (#4)
by
unknown
04:46
created

EnumeratedServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 6
ccs 0
cts 4
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace DavidIanBonner\Enumerated;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class EnumeratedServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Bootstrap the application services.
11
     *
12
     * @return void
13
     */
14
    public function boot()
15
    {
16
        $this->publishes([
17
            __DIR__ . '/../lang/enum.php' => resource_path('lang/en/enum.php'),
18
        ]);
19
    }
20
21 13
    public function register()
22
    {
23 13
        include_once __DIR__ . '/helpers.php';
24 13
    }
25
}
26