Passed
Push — master ( 5649e5...cd00c2 )
by Joshua
05:29 queued 03:33
created

Locale::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the -SeamsCMSDeliverySdk package.
7
 *
8
 * (c) Seams-CMS.com
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace SeamsCMS\Delivery\Model;
15
16
/**
17
 * Class Locale
18
 * @package SeamsCMS\Delivery\Model
19
 */
20
class Locale
21
{
22
    use HydratorTrait;
23
24
    /** @var string */
25
    protected $name;
26
    /** @var string */
27
    protected $locale;
28
29
    /**
30
     * @return string
31
     */
32 1
    public function getName(): string
33
    {
34 1
        return $this->name;
35
    }
36
37
    /**
38
     * @return string
39
     */
40 1
    public function getLocale(): string
41
    {
42 1
        return $this->locale;
43
    }
44
}
45