ScrapePodServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
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
}
27