InstamojoServiceProvider   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 4
c 2
b 0
f 0
dl 0
loc 22
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 4 1
A boot() 0 4 1
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