Completed
Push — master ( 773bc0...a52c4e )
by Mahmoud
04:43
created

MainServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
lcom 1
cbo 1
dl 0
loc 35
rs 10
c 1
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 4 1
A register() 0 4 1
1
<?php
2
3
namespace App\Containers\Settings\Providers;
4
5
use App\Port\Provider\Abstracts\ServiceProviderAbstract;
6
7
/**
8
 * Class MainServiceProvider.
9
 *
10
 * The Main Service Provider of this container, it will be automatically registered in the framework.
11
 *
12
 * @author  Mahmoud Zalt <[email protected]>
13
 */
14
class MainServiceProvider extends ServiceProviderAbstract
15
{
16
17
    /**
18
     * Indicates if loading of the provider is deferred.
19
     *
20
     * @var bool
21
     */
22
    protected $defer = false;
23
24
    /**
25
     * Container internal Service Provides.
26
     *
27
     * @var array
28
     */
29
    private $containerServiceProviders = [
30
31
    ];
32
33
    /**
34
     * Perform post-registration booting of services.
35
     */
36
    public function boot()
37
    {
38
        $this->registerServiceProviders($this->containerServiceProviders);
39
    }
40
41
    /**
42
     * Register bindings in the container.
43
     */
44
    public function register()
45
    {
46
47
    }
48
}
49