Completed
Push — master ( 051415...d021c6 )
by Sebastian
05:18
created

MailerServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 3 1
A boot() 0 6 1
1
<?php
2
3
namespace App\Services\Mailers;
4
5
use Illuminate\Contracts\Events\Dispatcher;
6
use Illuminate\Support\ServiceProvider;
7
8
class MailerServiceProvider extends ServiceProvider
9
{
10
    public function register()
11
    {
12
    }
13
14
    public function boot(Dispatcher $events)
15
    {
16
        $events->subscribe(AdminMailerEventHandler::class);
17
        $events->subscribe(ContactFormMailerEventHandler::class);
18
        $events->subscribe(MemberMailerEventHandler::class);
19
    }
20
}
21