1 | <?php |
||
16 | class SsoState implements \Serializable |
||
17 | { |
||
18 | /** @var string */ |
||
19 | private $localSessionId; |
||
20 | |||
21 | /** @var ParameterBag */ |
||
22 | private $parameters; |
||
23 | |||
24 | /** @var SsoSessionState[] */ |
||
25 | private $ssoSessions = array(); |
||
26 | |||
27 | 15 | public function __construct() |
|
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | */ |
||
35 | 2 | public function getLocalSessionId() |
|
39 | |||
40 | /** |
||
41 | * @param string $localSessionId |
||
42 | * |
||
43 | * @return SsoState |
||
44 | */ |
||
45 | 3 | public function setLocalSessionId($localSessionId) |
|
51 | |||
52 | /** |
||
53 | * @return ParameterBag |
||
54 | */ |
||
55 | 2 | public function getParameters() |
|
59 | |||
60 | /** |
||
61 | * @deprecated Since 1.2, to be removed in 2.0. Use getParameters() instead |
||
62 | * |
||
63 | * @return array |
||
64 | */ |
||
65 | 2 | public function getOptions() |
|
69 | |||
70 | /** |
||
71 | * @deprecated Since 1.2, to be removed in 2.0. Use getParameters() instead |
||
72 | * |
||
73 | * @param string $name |
||
74 | * @param mixed $value |
||
75 | * |
||
76 | * @return SsoState |
||
77 | */ |
||
78 | 2 | public function addOption($name, $value) |
|
84 | |||
85 | /** |
||
86 | * @deprecated Since 1.2, to be removed in 2.0. Use getParameters() instead |
||
87 | * |
||
88 | * @param string $name |
||
89 | * |
||
90 | * @return SsoState |
||
91 | */ |
||
92 | 1 | public function removeOption($name) |
|
98 | |||
99 | /** |
||
100 | * @deprecated Since 1.2, to be removed in 2.0. Use getParameters() instead |
||
101 | * |
||
102 | * @param string $name |
||
103 | * |
||
104 | * @return bool |
||
105 | */ |
||
106 | 1 | public function hasOption($name) |
|
110 | |||
111 | /** |
||
112 | * @return SsoSessionState[] |
||
113 | */ |
||
114 | 7 | public function getSsoSessions() |
|
118 | |||
119 | /** |
||
120 | * @param SsoSessionState[] $ssoSessions |
||
121 | * |
||
122 | * @return SsoState |
||
123 | */ |
||
124 | 1 | public function setSsoSessions(array $ssoSessions) |
|
133 | |||
134 | /** |
||
135 | * @param SsoSessionState $ssoSessionState |
||
136 | * |
||
137 | * @return SsoState |
||
138 | */ |
||
139 | 8 | public function addSsoSession(SsoSessionState $ssoSessionState) |
|
145 | |||
146 | /** |
||
147 | * @param $idpEntityId |
||
148 | * @param $spEntityId |
||
149 | * @param $nameId |
||
150 | * @param $nameIdFormat |
||
151 | * @param $sessionIndex |
||
152 | * |
||
153 | * @return SsoSessionState[] |
||
154 | */ |
||
155 | 3 | public function filter($idpEntityId, $spEntityId, $nameId, $nameIdFormat, $sessionIndex) |
|
172 | |||
173 | /** |
||
174 | * @param callable $callback |
||
175 | * |
||
176 | * @return SsoState |
||
177 | */ |
||
178 | 1 | public function modify($callback) |
|
184 | |||
185 | /** |
||
186 | * @return string the string representation of the object or null |
||
187 | */ |
||
188 | 2 | public function serialize() |
|
197 | |||
198 | /** |
||
199 | * @param string $serialized |
||
200 | * |
||
201 | * @return void |
||
202 | */ |
||
203 | 2 | public function unserialize($serialized) |
|
223 | } |
||
224 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..