Phone   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 62
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 62
ccs 10
cts 10
cp 1
rs 10
c 0
b 0
f 0
wmc 5
lcom 0
cbo 1

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getCountry() 0 4 1
A getCity() 0 4 1
A getNumber() 0 4 1
A getSanitizedNumber() 0 4 1
A getCall() 0 4 1
1
<?php
2
3
namespace Yandex\Market\Content\Models;
4
5
use Yandex\Common\Model;
6
7
class Phone extends Model
8
{
9
    protected $country = null;
10
11
    protected $city = null;
12
13
    protected $number = null;
14
15
    protected $sanitizedNumber = null;
16
17
    protected $call = null;
18
19
    /**
20
     * Retrieve the country property
21
     *
22
     * @return string|null
23
     */
24 5
    public function getCountry()
25
    {
26 5
        return $this->country;
27
    }
28
29
    /**
30
     * Retrieve the city property
31
     *
32
     * @return string|null
33
     */
34 5
    public function getCity()
35
    {
36 5
        return $this->city;
37
    }
38
39
    /**
40
     * Retrieve the number property
41
     *
42
     * @return string|null
43
     */
44 6
    public function getNumber()
45
    {
46 6
        return $this->number;
47
    }
48
49
    /**
50
     * Retrieve the sanitizedNumber property
51
     *
52
     * @return string|null
53
     */
54 5
    public function getSanitizedNumber()
55
    {
56 5
        return $this->sanitizedNumber;
57
    }
58
59
    /**
60
     * Retrieve the call property
61
     *
62
     * @return string|null
63
     */
64 5
    public function getCall()
65
    {
66 5
        return $this->call;
67
    }
68
}
69