ServicesServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 4

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 12 1
1
<?php namespace GolfLeague\Services;
2
3
use Illuminate\Support\ServiceProvider;
4
5
6
class ServicesServiceProvider extends ServiceProvider
7
{
8
9
    public function register()
10
    {
11
        $this->app->bind('GolfLeague\PrizeMoney', function()
12
        {
13
            return new \GolfLeague\PrizeMoney;
14
        });
15
16
        $this->app->bind('GolfLeague\Services\MoneyService', function()
17
        {
18
            return new \GolfLeague\Services\MoneyService;
19
        });
20
    }
21
}
22