Completed
Push — master ( c73ac3...acbb41 )
by Serhii
34:37 queued 19:37
created

FacebookResponse   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 106
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 0
loc 106
rs 10
wmc 8
lcom 0
cbo 0

8 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A getEmail() 0 4 1
A getFirstName() 0 4 1
A getLastName() 0 4 1
A setId() 0 5 1
A setEmail() 0 5 1
A setFirstName() 0 5 1
A setLastName() 0 5 1
1
<?php
2
3
namespace AppBundle\Model;
4
5
use JMS\Serializer\Annotation\Accessor;
6
use JMS\Serializer\Annotation\Type;
7
8
class FacebookResponse
9
{
10
    /**
11
     * @var string
12
     *
13
     * @Type("string")
14
     * @Accessor(getter="getId")
15
     */
16
    protected $id;
17
18
    /**
19
     * @var string
20
     *
21
     * @Type("string")
22
     * @Accessor(getter="getEmail")
23
     */
24
    protected $email;
25
26
    /**
27
     * @var string
28
     *
29
     * @Type("string")
30
     * @Accessor(getter="getFirstName")
31
     */
32
    protected $firstName;
33
34
    /**
35
     * @var string
36
     *
37
     * @Type("string")
38
     * @Accessor(getter="getLastName")
39
     */
40
    protected $lastName;
41
42
    /**
43
     * @return string
44
     */
45
    public function getId()
46
    {
47
        return $this->id;
48
    }
49
50
    /**
51
     * @return string
52
     */
53
    public function getEmail()
54
    {
55
        return $this->email;
56
    }
57
58
    /**
59
     * @return string
60
     */
61
    public function getFirstName()
62
    {
63
        return $this->firstName;
64
    }
65
66
    /**
67
     * @return string
68
     */
69
    public function getLastName()
70
    {
71
        return $this->lastName;
72
    }
73
74
    /**
75
     * @param string $id
76
     * @return $this
77
     */
78
    public function setId($id)
79
    {
80
        $this->id = $id;
81
        return $this;
82
    }
83
84
    /**
85
     * @param string $email
86
     * @return $this
87
     */
88
    public function setEmail($email)
89
    {
90
        $this->email = $email;
91
        return $this;
92
    }
93
94
    /**
95
     * @param string $firstName
96
     * @return $this
97
     */
98
    public function setFirstName($firstName)
99
    {
100
        $this->firstName = $firstName;
101
        return $this;
102
    }
103
104
    /**
105
     * @param string $lastName
106
     * @return $this
107
     */
108
    public function setLastName($lastName)
109
    {
110
        $this->lastName = $lastName;
111
        return $this;
112
    }
113
}
114