1 | <?php |
||
15 | class Db extends AbstractAdapter |
||
16 | { |
||
17 | /** |
||
18 | * @var UserMapperInterface |
||
19 | */ |
||
20 | protected $mapper; |
||
21 | |||
22 | /** |
||
23 | * @var callable |
||
24 | */ |
||
25 | protected $credentialPreprocessor; |
||
26 | |||
27 | /** |
||
28 | * @var ServiceManager |
||
29 | */ |
||
30 | protected $serviceManager; |
||
31 | |||
32 | /** |
||
33 | * @var ModuleOptions |
||
34 | */ |
||
35 | protected $options; |
||
36 | |||
37 | /** |
||
38 | * Called when user id logged out |
||
39 | * |
||
40 | * @param AdapterChainEvent $e |
||
41 | */ |
||
42 | public function logout(AdapterChainEvent $e) |
||
46 | |||
47 | /** |
||
48 | * @param AdapterChainEvent $e |
||
49 | * @return bool |
||
50 | */ |
||
51 | public function authenticate(AdapterChainEvent $e) |
||
130 | |||
131 | protected function updateUserPasswordHash(UserInterface $userObject, $password, Bcrypt $bcrypt) |
||
141 | |||
142 | public function preProcessCredential($credential) |
||
151 | |||
152 | /** |
||
153 | * getMapper |
||
154 | * |
||
155 | * @return UserMapperInterface |
||
156 | */ |
||
157 | public function getMapper() |
||
165 | |||
166 | /** |
||
167 | * setMapper |
||
168 | * |
||
169 | * @param UserMapperInterface $mapper |
||
170 | * @return Db |
||
171 | */ |
||
172 | public function setMapper(UserMapperInterface $mapper) |
||
178 | |||
179 | /** |
||
180 | * Get credentialPreprocessor. |
||
181 | * |
||
182 | * @return callable |
||
183 | */ |
||
184 | public function getCredentialPreprocessor() |
||
188 | |||
189 | /** |
||
190 | * Set credentialPreprocessor. |
||
191 | * |
||
192 | * @param callable $credentialPreprocessor |
||
193 | * @return $this |
||
194 | */ |
||
195 | public function setCredentialPreprocessor($credentialPreprocessor) |
||
200 | |||
201 | /** |
||
202 | * Retrieve service manager instance |
||
203 | * |
||
204 | * @return ServiceManager |
||
205 | */ |
||
206 | public function getServiceManager() |
||
210 | |||
211 | /** |
||
212 | * Set service manager instance |
||
213 | * |
||
214 | * @param ContainerInterface $serviceManager |
||
215 | */ |
||
216 | public function setServiceManager(ContainerInterface $serviceManager) |
||
220 | |||
221 | /** |
||
222 | * @param ModuleOptions $options |
||
223 | */ |
||
224 | public function setOptions(ModuleOptions $options) |
||
228 | |||
229 | /** |
||
230 | * @return ModuleOptions |
||
231 | */ |
||
232 | public function getOptions() |
||
240 | } |
||
241 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.