Completed
Push — master ( 694417...116d3c )
by Dominik
04:44
created

HybridAuthSessionData::getId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Azine\HybridAuthBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * HybridAuthSessionData
9
 */
10
class HybridAuthSessionData
11
{
12
    /**
13
     * @var integer
14
     */
15
    private $id;
16
17
    /**
18
     * @var string
19
     */
20
    private $username;
21
22
    /**
23
     * @var string
24
     */
25
    private $sessionData;
26
27
28
    /**
29
     * Get id
30
     *
31
     * @return integer 
32
     */
33
    public function getId()
34
    {
35
        return $this->id;
36
    }
37
38
    /**
39
     * Set username
40
     *
41
     * @param string $username
42
     * @return HybridAuthSessionData
43
     */
44
    public function setUsername($username)
45
    {
46
        $this->username = $username;
47
48
        return $this;
49
    }
50
51
    /**
52
     * Get username
53
     *
54
     * @return string 
55
     */
56
    public function getUsername()
57
    {
58
        return $this->username;
59
    }
60
61
    /**
62
     * Set sessionData
63
     *
64
     * @param string $sessionData
65
     * @return HybridAuthSessionData
66
     */
67
    public function setSessionData($sessionData)
68
    {
69
        $this->sessionData = $sessionData;
70
71
        return $this;
72
    }
73
74
    /**
75
     * Get sessionData
76
     *
77
     * @return string 
78
     */
79
    public function getSessionData()
80
    {
81
        return $this->sessionData;
82
    }
83
    /**
84
     * @var string
85
     */
86
    private $provider;
87
88
89
    /**
90
     * Set provider
91
     *
92
     * @param string $provider
93
     * @return HybridAuthSessionData
94
     */
95
    public function setProvider($provider)
96
    {
97
        $this->provider = $provider;
98
99
        return $this;
100
    }
101
102
    /**
103
     * Get provider
104
     *
105
     * @return string 
106
     */
107
    public function getProvider()
108
    {
109
        return $this->provider;
110
    }
111
}
112