Completed
Push — master ( db331b...68a7db )
by Marcel
01:54 queued 11s
created

MailCare::register()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace BeyondCode\Mailbox\Drivers;
4
5
use Illuminate\Support\Facades\Route;
6
use BeyondCode\Mailbox\Http\Controllers\MailCareController;
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