StorageServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 47
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
B register() 0 43 1
1
<?php namespace GolfLeague\Storage;
2
3
use Illuminate\Support\ServiceProvider;
4
5
6
class StorageServiceProvider extends ServiceProvider
7
{
8
9
    public function register()
10
    {
11
        $this->app->bind(
12
          'GolfLeague\Storage\Round\RoundRepository',
13
          'GolfLeague\Storage\Round\EloquentRoundRepository'
14
        );
15
		$this->app->bind(
16
          'GolfLeague\Storage\Match\MatchRepository',
17
          'GolfLeague\Storage\Match\EloquentMatchRepository'
18
        );
19
		$this->app->bind(
20
          'GolfLeague\Storage\MatchRound\MatchRoundRepository',
21
          'GolfLeague\Storage\MatchRound\EloquentMatchRoundRepository'
22
        );
23
		$this->app->bind(
24
          'GolfLeague\Storage\Player\PlayerRepository',
25
          'GolfLeague\Storage\Player\EloquentPlayerRepository'
26
        );
27
		$this->app->bind(
28
          'GolfLeague\Storage\HoleScore\HoleScoreRepository',
29
          'GolfLeague\Storage\HoleScore\EloquentHoleScoreRepository'
30
        );
31
		$this->app->bind(
32
          'GolfLeague\Storage\Leaderboard\LeaderboardRepository',
33
          'GolfLeague\Storage\Leaderboard\EloquentLeaderboardRepository'
34
        );
35
		$this->app->bind(
36
          'GolfLeague\Storage\Skin\SkinRepository',
37
          'GolfLeague\Storage\Skin\EloquentSkinRepository'
38
        );
39
		$this->app->bind(
40
          'GolfLeague\Storage\Ctp\CtpRepository',
41
          'GolfLeague\Storage\Ctp\EloquentCtpRepository'
42
        );
43
        $this->app->bind(
44
            'GolfLeague\Storage\Team\TeamRepository',
45
            'GolfLeague\Storage\Team\EloquentTeamRepository'
46
        );
47
        $this->app->bind(
48
            'GolfLeague\Storage\Team\TeamMatchesRepository',
49
            'GolfLeague\Storage\Team\EloquentTeamMatchesRepository'
50
        );
51
    }
52
}
53