Passed
Push — master ( 443842...86f0b2 )
by Joshua
05:55 queued 01:59
created

Locale   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 23
ccs 0
cts 7
cp 0
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getLocale() 0 3 1
A getName() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace SeamsCMS\Delivery\Model;
5
6
class Locale
7
{
8
    use HydratorTrait;
9
10
    /** @var string */
11
    protected $name;
12
    /** @var string */
13
    protected $locale;
14
15
    /**
16
     * @return string
17
     */
18
    public function getName(): string
19
    {
20
        return $this->name;
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getLocale(): string
27
    {
28
        return $this->locale;
29
    }
30
}
31