Completed
Push — master ( eebd52...3cd9a5 )
by ARCANEDEV
08:34
created

CommentsRoutes   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 21
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A map() 0 9 1
1
<?php namespace Arcanesoft\Blog\Http\Routes\Foundation;
2
3
use Arcanedev\Support\Bases\RouteRegister;
4
use Illuminate\Contracts\Routing\Registrar;
5
6
/**
7
 * Class     CommentsRoutes
8
 *
9
 * @package  Arcanesoft\Blog\Http\Routes\Foundation
10
 * @author   ARCANEDEV <[email protected]>
11
 */
12
class CommentsRoutes extends RouteRegister
13
{
14
    /* ------------------------------------------------------------------------------------------------
15
     |  Main Functions
16
     | ------------------------------------------------------------------------------------------------
17
     */
18
    /**
19
     * Map routes.
20
     *
21
     * @param  \Illuminate\Contracts\Routing\Registrar  $router
22
     */
23
    public function map(Registrar $router)
24
    {
25
        $this->group([
26
            'prefix'    => 'comments',
27
            'as'        => 'comments.',
28
        ], function () {
29
            //
30
        });
31
    }
32
}
33