ChuckServiceProvider   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
eloc 3
c 2
b 1
f 0
dl 0
loc 21
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 2 1
A register() 0 4 1
1
<?php
2
3
namespace Chuckbe\Chuckcms\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class ChuckServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Bootstrap the application services.
11
     *
12
     * @return void
13
     */
14
    public function boot()
15
    {
16
        //
17
    }
18
19
    /**
20
     * Register the application services.
21
     *
22
     * @return void
23
     */
24
    public function register()
25
    {
26
        $this->app->bind('Chuck', function () {
27
            return new \Chuckbe\Chuckcms\Chuck\Accessors\Chuck();
28
        });
29
    }
30
}
31