Test Failed
Push — stable ( 994ca0...7d5c83 )
by Nuno
04:30
created

FakeServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 1
lcom 1
cbo 2
1
<?php
2
3
namespace App\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6
7
/**
8
 * This is the Laravel Zero Framework fake service provider class.
9
 *
10
 * @author Nuno Maduro <[email protected]>
11
 */
12
class FakeServiceProvider extends ServiceProvider
13
{
14
    public function register()
15
    {
16
        $this->app->bind(
17
            'foo',
18
            function () {
19
                return 'bar';
20
            }
21
        );
22
    }
23
}
24