ScrapePodServiceProvider   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Importance

Changes 0
Metric Value
dl 0
loc 20
c 0
b 0
f 0
wmc 2
lcom 1
cbo 3
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 6 1
A register() 0 4 1
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