MailCare   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 4 1
1
<?php
2
3
namespace BeyondCode\Mailbox\Drivers;
4
5
use BeyondCode\Mailbox\Http\Controllers\MailCareController;
6
use Illuminate\Support\Facades\Route;
7
8
class MailCare implements DriverInterface
9
{
10
    public function register()
11
    {
12
        Route::prefix(config('mailbox.path'))->group(function () {
13
            Route::post('/mailcare', MailCareController::class);
14
        });
15
    }
16
}
17