Laravel::register()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
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
}