StatisticsServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 15 1
1
<?php namespace GolfLeague\Statistics;
2
3
use Illuminate\Support\ServiceProvider;
4
5
6
class StatisticsServiceProvider extends ServiceProvider
7
{
8
9
    public function register()
10
    {
11
        $this->app->bind(
12
          'GolfLeague\Statistics\League\LeagueStatistics',
13
          'GolfLeague\Statistics\League\LeagueStatisticsEloquent'
14
        );
15
		$this->app->bind(
16
          'GolfLeague\Statistics\Player\PlayerStatistics',
17
          'GolfLeague\Statistics\Player\PlayerStatisticsEloquent'
18
        );
19
        $this->app->bind(
20
            'GolfLeague\Statistics\Course\CourseStatistics',
21
            'GolfLeague\Statistics\Course\CourseStatisticsEloquent'
22
        );
23
    }
24
}
25