Completed
Push — master ( cd00c2...c10be1 )
by Joshua
13s queued 11s
created

Locale::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
ccs 1
cts 1
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
    /**
31
     * Locale constructor.
32
     *
33
     */
34 1
    protected function __construct()
35
    {
36 1
    }
37
38
    /**
39
     * @return string
40
     */
41 1
    public function getName(): string
42
    {
43 1
        return $this->name;
44
    }
45
46
    /**
47
     * @return string
48
     */
49 1
    public function getLocale(): string
50
    {
51 1
        return $this->locale;
52
    }
53
}
54