Completed
Push — master ( 08a4c1...0ef93c )
by Mahmoud
03:52
created

WelcomeServiceProvider::register()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
namespace App\Containers\Welcome\Providers;
4
5
use App\Port\Provider\Abstracts\ServiceProviderAbstract;
6
7
/**
8
 * Class WelcomeServiceProvider.
9
 *
10
 * The Main Service Provider of this Module.
11
 * Will be automatically registered in the framework after
12
 * adding the Module name to containers config file.
13
 *
14
 * @author  Mahmoud Zalt <[email protected]>
15
 */
16
class WelcomeServiceProvider extends ServiceProviderAbstract
17
{
18
19
    /**
20
     * Indicates if loading of the provider is deferred.
21
     *
22
     * @var bool
23
     */
24
    protected $defer = false;
25
26
    /**
27
     * Container internal Service Provides.
28
     *
29
     * @var array
30
     */
31
    private $containerServiceProviders = [
32
        // ...
33
    ];
34
35
    /**
36
     * Perform post-registration booting of services.
37
     */
38
    public function boot()
39
    {
40
        $this->registerServiceProviders($this->containerServiceProviders);
41
    }
42
43
    /**
44
     * Register bindings in the container.
45
     */
46
    public function register()
47
    {
48
49
    }
50
}
51