Organization   A
last analyzed

Complexity

Total Complexity 8

Size/Duplication

Total Lines 115
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 8
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 115
ccs 20
cts 20
cp 1
rs 10

8 Methods

Rating   Name   Duplication   Size   Complexity  
A setAddress() 0 6 1
A getAddress() 0 4 1
A setEmail() 0 6 1
A getEmail() 0 4 1
A setLogo() 0 6 1
A getLogo() 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
 * An organization such as a school, NGO, corporation, club, etc.
11
 *
12
 * @see http://schema.org/Organization Documentation on Schema.org
13
 */
14
class Organization extends Thing
15
{
16
    /**
17
     * @var PostalAddress Physical address of the item.
18
     */
19
    protected $address;
20
    /**
21
     * @var string Email address.
22
     */
23
    protected $email;
24
    /**
25
     * @var string An associated logo.
26
     */
27
    protected $logo;
28
    /**
29
     * @var string The telephone number.
30
     */
31
    protected $telephone;
32
33
    /**
34
     * Sets address.
35
     *
36
     * @param PostalAddress $address
37
     *
38
     * @return $this
39
     */
40 14
    public function setAddress(PostalAddress $address = null)
41
    {
42 14
        $this->address = $address;
43
44 14
        return $this;
45
    }
46
47
    /**
48
     * Gets address.
49
     *
50
     * @return PostalAddress
51
     */
52 12
    public function getAddress()
53
    {
54 12
        return $this->address;
55
    }
56
57
    /**
58
     * Sets email.
59
     *
60
     * @param string $email
61
     *
62
     * @return $this
63
     */
64 2
    public function setEmail($email)
65
    {
66 2
        $this->email = $email;
67
68 2
        return $this;
69
    }
70
71
    /**
72
     * Gets email.
73
     *
74
     * @return string
75
     */
76 4
    public function getEmail()
77
    {
78 4
        return $this->email;
79
    }
80
81
    /**
82
     * Sets logo.
83
     *
84
     * @param string $logo
85
     *
86
     * @return $this
87
     */
88 2
    public function setLogo($logo)
89
    {
90 2
        $this->logo = $logo;
91
92 2
        return $this;
93
    }
94
95
    /**
96
     * Gets logo.
97
     *
98
     * @return string
99
     */
100 4
    public function getLogo()
101
    {
102 4
        return $this->logo;
103
    }
104
105
    /**
106
     * Sets telephone.
107
     *
108
     * @param string $telephone
109
     *
110
     * @return $this
111
     */
112 2
    public function setTelephone($telephone)
113
    {
114 2
        $this->telephone = $telephone;
115
116 2
        return $this;
117
    }
118
119
    /**
120
     * Gets telephone.
121
     *
122
     * @return string
123
     */
124 2
    public function getTelephone()
125
    {
126 2
        return $this->telephone;
127
    }
128
}
129