InstamojoServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 2
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php namespace IlyasKazi\Instamojo;
2
3
class InstamojoServiceProvider extends \Illuminate\Support\ServiceProvider
4
{
5
    /**
6
    * Bootstrap services.
7
    *
8
    * @return void
9
    */
10
    public function boot()
11
    {
12
        $this->loadRoutesFrom(__DIR__.'/routes/web.php');
13
        $this->loadMigrationsFrom(__DIR__.'/migrations');
14
    }
15
16
    /**
17
    * Register services.
18
    *
19
    * @return void
20
    */
21
    public function register()
22
    {
23
        // register our controller
24
        $this->app->make('IlyasKazi\Instamojo\Controllers\InstamojoController');
25
    }
26
}
27