Completed
Push — master ( a4425c...d73c00 )
by Anılcan
06:25
created

FormerServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 24
c 1
b 0
f 0
wmc 2
lcom 0
cbo 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 4 1
A configure() 0 6 1
1
<?php
2
3
namespace AnilcanCakir\Former;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class FormerServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Register the service provider.
11
     *
12
     * @return void
13
     */
14
    public function register()
15
    {
16
        $this->configure();
17
    }
18
19
    /**
20
     * Setup the configuration for Former.
21
     *
22
     * @return void
23
     */
24
    protected function configure()
25
    {
26
        $this->mergeConfigFrom(
27
            __DIR__.'/../config/former.php', 'former'
28
        );
29
    }
30
}
31