Completed
Push — master ( 59f74a...c12486 )
by Mahmoud
03:24
created

MainServiceProvider::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
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace App\Containers\Stripe\Providers;
4
5
use App\Port\Provider\Abstracts\ServiceProviderAbstract;
6
use Cartalyst\Stripe\Laravel\StripeServiceProvider;
7
use Zizaco\Entrust\EntrustServiceProvider;
8
9
/**
10
 * Class MainServiceProvider.
11
 *
12
 * The Main Service Provider of this container, it will be automatically registered in the framework.
13
 *
14
 * @author  Mahmoud Zalt <[email protected]>
15
 */
16
class MainServiceProvider 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
        StripeServiceProvider::class,
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