Passed
Branch master (2530fd)
by Kazi Mainuddin
03:16
created

ScrapePodServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
c 0
b 0
f 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
namespace Tzsk\ScrapePod\Provider;
3
4
use Illuminate\Support\ServiceProvider;
5
use Tzsk\ScrapePod\ScrapePodcast;
6
7
class ScrapePodServiceProvider extends ServiceProvider
8
{
9
	/**
10
	 * @return void
11
	 */
12
    public function boot()
13
    {
14
	    $this->app->singleton('tzsk-scrape-pod', function() {
15
		    return new ScrapePodcast();
16
	    });
17
    }
18
19
	/**
20
	 * @return void
21
	 */
22
    public function register()
23
    {
24
        //
25
    }
26
}