RoutingConfig   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 10
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getContext() 0 3 1
1
<?php
2
3
4
namespace Xervice\Routing;
5
6
7
use Xervice\Core\Business\Model\Config\AbstractConfig;
8
9
class RoutingConfig extends AbstractConfig
10
{
11
    public const CONTEXT = 'context';
12
13
    /**
14
     * @return string
15
     */
16
    public function getContext(): string
17
    {
18
        return $this->get(self::CONTEXT, '/');
19
    }
20
}