AirtelMoneyServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 12
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
wmc 1
lcom 1
cbo 3

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 6 1
1
<?php
2
3
namespace Samerior\MobileMoney\AirtelMoney;
4
5
use Illuminate\Foundation\Application;
6
use Illuminate\Support\ServiceProvider;
7
use Samerior\MobileMoney\AirtelMoney\Library\Cashier;
8
9
/**
10
 * Class AirtelMoneyServiceProvider
11
 * @package Samerior\MobileMoney\AirtelMoney
12
 */
13
class AirtelMoneyServiceProvider extends ServiceProvider
14
{
15
    /**
16
     *
17
     */
18
    public function register()
19
    {
20
        $this->app->bind('airtel_money', function (Application $app) {
21
            return $app->make(Cashier::class);
22
        });
23
    }
24
}
25