HelperServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
1
<?php
2
3
namespace Shetabit\Helper;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class HelperServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Register services.
11
     *
12
     * @return void
13
     */
14
    public function register()
15
    {
16
        $this->app->bind('helper', function () {
17
            return new Helper();
18
        });
19
    }
20
21
    /**
22
     * Bootstrap services.
23
     *
24
     * @return void
25
     */
26
    public function boot()
27
    {
28
        //
29
    }
30
}
31