Completed
Push — master ( a7cc71...174227 )
by Sherif
03:00
created

ModuleServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 1
cbo 2
dl 0
loc 23
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 5 1
A register() 0 4 1
1
<?php
2
3
namespace App\Modules\V1\Notifications\Providers;
4
5
use Caffeinated\Modules\Support\ServiceProvider;
6
7
class ModuleServiceProvider extends ServiceProvider
8
{
9
	/**
10
     * Bootstrap the module services.
11
     *
12
     * @return void
13
     */
14
    public function boot()
15
    {
16
        $this->loadTranslationsFrom(__DIR__.'/../Resources/Lang', 'catalog');
17
        $this->loadViewsFrom(__DIR__.'/../Resources/Views', 'catalog');
18
    }
19
20
    /**
21
     * Register the module services.
22
     *
23
     * @return void
24
     */
25
    public function register()
26
    {
27
        $this->app->register(RouteServiceProvider::class);
28
    }
29
}
30