1 | <?php |
||
13 | class ClientEntity implements ClientEntityInterface |
||
14 | { |
||
15 | /** |
||
16 | * @ORM\Id() |
||
17 | * @ORM\GeneratedValue() |
||
18 | * @ORM\Column(type="integer") |
||
19 | * @var int |
||
20 | */ |
||
21 | private $id; |
||
22 | |||
23 | /** |
||
24 | * @ORM\Column(type="text", nullable=true) |
||
25 | * @var string|null |
||
26 | */ |
||
27 | private $secret; |
||
28 | |||
29 | /** |
||
30 | * @ORM\Column(type="string", length=80, unique=true) |
||
31 | * @var string |
||
32 | */ |
||
33 | private $identifier; |
||
34 | |||
35 | /** |
||
36 | * @ORM\Column(type="text") |
||
37 | * @var string |
||
38 | */ |
||
39 | private $name; |
||
40 | |||
41 | /** |
||
42 | * @ORM\Column(type="text") |
||
43 | * @var string |
||
44 | */ |
||
45 | private $redirectUri; |
||
46 | |||
47 | /** |
||
48 | * @return int|null |
||
49 | */ |
||
50 | public function getId() |
||
54 | |||
55 | public function __clone() |
||
59 | |||
60 | /** |
||
61 | * @return string|null |
||
62 | */ |
||
63 | public function getSecret() |
||
67 | |||
68 | /** |
||
69 | * @param string|null $secret |
||
70 | */ |
||
71 | public function setSecret($secret) |
||
75 | |||
76 | /** |
||
77 | * @return string |
||
78 | */ |
||
79 | public function getIdentifier() |
||
83 | |||
84 | /** |
||
85 | * @param string $identifier |
||
86 | */ |
||
87 | public function setIdentifier(string $identifier) |
||
91 | |||
92 | /** |
||
93 | * @return string |
||
94 | */ |
||
95 | public function getName() |
||
99 | |||
100 | /** |
||
101 | * @param string $name |
||
102 | */ |
||
103 | public function setName(string $name) |
||
107 | |||
108 | /** |
||
109 | * @return string |
||
110 | */ |
||
111 | public function getRedirectUri() |
||
115 | |||
116 | /** |
||
117 | * @param string $uri |
||
118 | */ |
||
119 | public function setRedirectUri(string $uri) |
||
123 | } |
||
124 |