CalendarServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 3 1
1
<?php
2
3
namespace App\Providers;
4
5
use LaravelEnso\Calendar\Calendars\BirthdayCalendar;
6
use LaravelEnso\Calendar\CalendarServiceProvider as ServiceProvider;
7
use LaravelEnso\Calendar\Facades\Calendars;
8
9
class CalendarServiceProvider extends ServiceProvider
10
{
11
    protected $register = [
12
        BirthdayCalendar::class,
13
    ];
14
15
    public function boot()
16
    {
17
        Calendars::register($this->register);
18
    }
19
}
20