Completed
Push — master ( d62dde...2f9ece )
by Sherif
04:27
created

ApiSkeletonServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 29
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 11 1
A register() 0 4 1
1
<?php
2
3
namespace ApiSkeleton\ApiSkeleton;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class ApiSkeletonServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Perform post-registration booting of services.
11
     *
12
     * @return void
13
     */
14
    public function boot()
15
    {
16
     $this->publishes([
17
        __DIR__.'/Exceptions'    => app_path('Exceptions'),
18
        __DIR__.'/Modules'       => app_path('Modules'),
19
        __DIR__.'/notifications' => app_path('notifications'),
20
        __DIR__.'/Kernel.php'    => app_path('Http/Kernel.php'),
21
22
        ]);
23
24
    }
25
26
    /**
27
     * Register any package services.
28
     *
29
     * @return void
30
     */
31
    public function register()
32
    {
33
        //
34
    }
35
}