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

Locale::getLocale()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
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