StaffResponse::setStaff()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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