Passed
Push — dependabot/npm_and_yarn/string... ( b56eb5...bc569b )
by
unknown
45:46 queued 33s
created

DemoServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 20
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0
wmc 1
1
<?php
2
3
namespace Thinktomorrow\Chief\App\Providers;
4
5
use Illuminate\Support\Facades\Schema;
6
use Illuminate\Support\ServiceProvider;
7
8
class DemoServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * Indicates if loading of the provider is deferred.
12
     *
13
     * @var bool
14
     */
15
    protected $defer = false;
16
17
    /**
18
     * Perform post-registration booting of services.
19
     *
20
     * @return void
21
     */
22
    public function boot()
23
    {
24
        Schema::defaultStringLength(191);
25
26
        $this->loadRoutesFrom(__DIR__ . '/../../src/Demo/Http/routes/demoRoutes.php');
27
        $this->loadViewsFrom(__DIR__ . '/../../src/Demo/views', 'demo');
28
    }
29
}
30