EventServiceProvider   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
eloc 5
c 2
b 0
f 1
dl 0
loc 25
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 3 1
A register() 0 2 1
1
<?php
2
3
namespace FaithGen\Gallery\Providers;
4
5
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
6
7
class EventServiceProvider extends ServiceProvider
8
{
9
    protected $listen = [
10
        \FaithGen\Gallery\Events\Album\Created::class => [
11
            \FaithGen\Gallery\Listeners\Album\Created\MessageFollowUsers::class,
12
        ],
13
    ];
14
15
    /**
16
     * Bootstrap services.
17
     *
18
     * @return void
19
     */
20
    public function boot()
21
    {
22
        parent::boot();
23
    }
24
25
    /**
26
     * Register services.
27
     *
28
     * @return void
29
     */
30
    public function register()
31
    {
32
        //
33
    }
34
}
35