Passed
Pull Request — master (#200)
by
unknown
10:24
created

FacadeServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
eloc 3
c 1
b 0
f 1
dl 0
loc 26
ccs 0
cts 2
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 2 1
A provides() 0 3 1
1
<?php
2
/**
3
 * Facade Service Provider.
4
 *
5
 * @package App\Providers
6
 *
7
 * @author    Nick Menke <[email protected]>
8
 * @copyright 2018-2020 Nick Menke
9
 *
10
 * @link https://github.com/nlmenke/vertebrae
11
 */
12
13
declare(strict_types=1);
14
15
namespace App\Providers;
16
17
use Illuminate\Support\ServiceProvider;
18
19
/**
20
 * The Facade service provider.
21
 *
22
 * This service provider is responsible for bootstrapping and registering the
23
 * application's facades.
24
 *
25
 * @since x.x.x introduced
26
 */
27
class FacadeServiceProvider extends ServiceProvider
28
{
29
    /**
30
     * Indicates if loading of the provider is deferred.
31
     *
32
     * @var bool
33
     */
34
    protected $defer = true;
35
36
    /**
37
     * Get the services provided by the provider.
38
     *
39
     * @return array
40
     */
41
    public function provides(): array
42
    {
43
        return [];
44
    }
45
46
    /**
47
     * Register the service providers.
48
     *
49
     * @return void
50
     */
51
    public function register(): void
52
    {
53
    }
54
}
55