StaffResponse   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 28
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getStaff() 0 4 1
A setStaff() 0 4 1
1
<?php
2
namespace OmnideskBundle\Response\Staff;
3
4
use OmnideskBundle\Model\Staff;
5
6
/**
7
 * Class StaffResponse
8
 * @package OmnideskBundle\Response\Staff
9
 */
10
class StaffResponse
11
{
12
    /**
13
     * @var string
14
     */
15
    const ERROR_EMAIL_ALREADY_EXIST = 'email_already_exist';
16
17
    /**
18
     * @var Staff
19
     */
20
    private $staff;
21
22
    /**
23
     * @return Staff
24
     */
25
    public function getStaff()
26
    {
27
        return $this->staff;
28
    }
29
30
    /**
31
     * @param Staff $staff
32
     */
33
    public function setStaff(Staff $staff)
34
    {
35
        $this->staff = $staff;
36
    }
37
}
38