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