RouteServiceProvider::getFrontendRoute()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php namespace Modules\Dashboard\Providers;
2
3
use Modules\Core\Providers\RoutingServiceProvider as CoreRoutingServiceProvider;
4
5
class RouteServiceProvider extends CoreRoutingServiceProvider
6
{
7
    /**
8
     * The root namespace to assume when generating URLs to actions.
9
     * @var string
10
     */
11
    protected $namespace = 'Modules\Dashboard\Http\Controllers';
12
13
    /**
14
     * @return string
15
     */
16
    protected function getFrontendRoute()
17
    {
18
        return false;
19
    }
20
21
    /**
22
     * @return string
23
     */
24
    protected function getBackendRoute()
25
    {
26
        return __DIR__ . '/../Http/backendRoutes.php';
27
    }
28
29
    /**
30
     * @return string
31
     */
32
    protected function getApiRoute()
33
    {
34
        return false;
35
    }
36
}
37