public function validateCredentials(UserInterface $user, array $credentials) { return $this->hasher->check($credentials['password'], $user->password); }