Completed
Push — master ( f4ab91...b02197 )
by Mahmoud
03:34
created

MainProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace App\Ship\Parents\Providers;
4
5
use App\Ship\Engine\Loaders\AliasesLoaderTrait;
6
use App\Ship\Engine\Loaders\ProvidersLoaderTrait;
7
use Illuminate\Support\ServiceProvider as LaravelAppServiceProvider;
8
9
/**
10
 * Class MainProvider.
11
 *
12
 * @author  Mahmoud Zalt <[email protected]>
13
 */
14
abstract class MainProvider extends LaravelAppServiceProvider
15
{
16
    use ProvidersLoaderTrait;
17
    use AliasesLoaderTrait;
18
19
20
    /**
21
     * Perform post-registration booting of services.
22
     */
23
    public function boot()
24
    {
25
        $this->loadServiceProviders();
26
    }
27
28
    /**
29
     * Register anything in the container.
30
     */
31
    public function register()
32
    {
33
        $this->loadAliases();
34
    }
35
}
36