RouteServiceProvider::getFrontendRoute()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

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