Completed
Push — master ( ae2355...2a457d )
by Chris
01:10
created

ServiceProvider::boot()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 9.9
c 0
b 0
f 0
cc 2
nc 2
nop 0
1
<?php
2
3
namespace Cion\InspirationalQuotes;
4
5
use Illuminate\Support\ServiceProvider as BaseServiceProvider;
6
7
class ServiceProvider extends BaseServiceProvider
8
{
9
    /**
10
     * Register the application services.
11
     */
12
    public function register()
13
    {
14
        // Register the main class to use with the facade
15
        $this->app->singleton('inspirational-quote', function () {
16
            return new QuoteFactory;
17
        });
18
    }
19
}
20