StatisticsServiceProvider::register()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 15
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 15
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 10
nc 1
nop 0
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