Completed
Push — master ( 4680f5...6548c4 )
by ARCANEDEV
06:45
created

RouteServiceProvider::addRoute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
ccs 0
cts 5
cp 0
crap 2
1
<?php namespace Arcanedev\Support\Providers;
2
3
use Illuminate\Contracts\Routing\Registrar as Router;
4
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
5
6
/**
7
 * Class     RouteServiceProvider
8
 *
9
 * @package  Arcanedev\Support\Laravel\Providers
10
 * @author   ARCANEDEV <[email protected]>
11
 *
12
 * @method   \Illuminate\Contracts\Routing\Registrar  middleware(\string $name, \string $class)
13
 */
14
abstract class RouteServiceProvider extends ServiceProvider
15
{
16
    /* ------------------------------------------------------------------------------------------------
17
     |  Main Functions
18
     | ------------------------------------------------------------------------------------------------
19
     */
20
    /**
21
     * Define the routes for the application.
22
     *
23
     * @param  \Illuminate\Contracts\Routing\Registrar  $router
24
     */
25
    abstract public function map(Router $router);
26
}
27