FullNameServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Angecode\LaravelFullName;
4
5
use Illuminate\Filesystem\Filesystem;
6
use Illuminate\Support\ServiceProvider;
7
use Angecode\LaravelFullName\Traits\CanPublish;
8
9
/**
10
 * Class FullNameServiceProvider.
11
 *
12
 * @@codeCoverageIgnore
13
 */
14
class FullNameServiceProvider extends ServiceProvider
15
{
16
    use CanPublish;
17
18
    /**
19
     * Bootstrap the application services.
20
     */
21
    public function boot(Filesystem $filesystem)
22
    {
23
        $this->publishes([
24
            __DIR__.'/../database/migrations/add_fullname_to_users_table.php.stub' => $this->getMigrationFileName($filesystem),
25
        ], 'migrations');
26
    }
27
28
    /**
29
     * Register the application services.
30
     */
31
    public function register()
32
    {
33
    }
34
}
35