Laravel   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 7 1
1
<?php
2
3
namespace Helmut\Forms\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class Laravel extends ServiceProvider {
8
9
    /**
10
     * Register form bindings in the container.
11
     *
12
     * @return void
13
     */
14
    public function register()
15
    {
16
        $this->app->bind(
17
            'Helmut\Forms\Request', 
18
            'Helmut\Forms\Requests\Laravel'
19
        );
20
    }
21
22
}