Place   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 87
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 6
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 87
ccs 15
cts 15
cp 1
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A setAddress() 0 6 1
A getAddress() 0 4 1
A setGeo() 0 6 1
A getGeo() 0 4 1
A setTelephone() 0 6 1
A getTelephone() 0 4 1
1
<?php
2
3
/*
4
 * This class was automatically generated.
5
 */
6
7
namespace JobApis\Jobs\Client\Schema\Entity;
8
9
/**
10
 * Entities that have a somewhat fixed, physical extension.
11
 *
12
 * @see http://schema.org/Place Documentation on Schema.org
13
 */
14
class Place extends Thing
15
{
16
    /**
17
     * @var PostalAddress Physical address of the item.
18
     */
19
    protected $address;
20
    /**
21
     * @var GeoCoordinates The geo coordinates of the place.
22
     */
23
    protected $geo;
24
    /**
25
     * @var string The telephone number.
26
     */
27
    protected $telephone;
28
29
    /**
30
     * Sets address.
31
     *
32
     * @param PostalAddress $address
33
     *
34
     * @return $this
35
     */
36 14
    public function setAddress(PostalAddress $address = null)
37
    {
38 14
        $this->address = $address;
39
40 14
        return $this;
41
    }
42
43
    /**
44
     * Gets address.
45
     *
46
     * @return PostalAddress
47
     */
48 14
    public function getAddress()
49
    {
50 14
        return $this->address;
51
    }
52
53
    /**
54
     * Sets geo.
55
     *
56
     * @param GeoCoordinates $geo
57
     *
58
     * @return $this
59
     */
60 18
    public function setGeo(GeoCoordinates $geo = null)
61
    {
62 18
        $this->geo = $geo;
63
64 18
        return $this;
65
    }
66
67
    /**
68
     * Gets geo.
69
     *
70
     * @return GeoCoordinates
71
     */
72 2
    public function getGeo()
73
    {
74 2
        return $this->geo;
75
    }
76
77
    /**
78
     * Sets telephone.
79
     *
80
     * @param string $telephone
81
     *
82
     * @return $this
83
     */
84 2
    public function setTelephone($telephone)
85
    {
86 2
        $this->telephone = $telephone;
87
88 2
        return $this;
89
    }
90
91
    /**
92
     * Gets telephone.
93
     *
94
     * @return string
95
     */
96 4
    public function getTelephone()
97
    {
98 4
        return $this->telephone;
99
    }
100
}
101