Contact   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 38
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 6
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 38
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
A setName() 0 4 1
A getEmail() 0 4 1
A setEmail() 0 4 1
A getMessage() 0 4 1
A setMessage() 0 4 1
1
<?php
2
3
namespace AppBundle\Entity;
4
5
class Contact
6
{
7
    protected $name;
8
9
    protected $email;
10
11
    protected $message;
12
13
    public function getName()
14
    {
15
        return $this->name;
16
    }
17
18
    public function setName($name)
19
    {
20
        $this->name = $name;
21
    }
22
23
    public function getEmail()
24
    {
25
        return $this->email;
26
    }
27
28
    public function setEmail($email)
29
    {
30
        $this->email = $email;
31
    }
32
33
    public function getMessage()
34
    {
35
        return $this->message;
36
    }
37
38
    public function setMessage($message)
39
    {
40
        $this->message = $message;
41
    }
42
}
43