File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Resources/skeleton/security Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ class <?= $class_name ?> implements UserProviderInterface
1717 * this method.
1818 *
1919 * @return UserInterface
20+ *
21+ * @throws UsernameNotFoundException if the user is not found
2022 */
2123 public function loadUserByUsername($username)
2224 {
@@ -46,8 +48,6 @@ public function refreshUser(UserInterface $user)
4648 throw new UnsupportedUserException(sprintf('Invalid user class "%s".', get_class($user)));
4749 }
4850
49- /* @var <?= $ user_short_name ?> $user */
50-
5151 // Return a User object after making sure its data is "fresh".
5252 // Or throw a UsernameNotFoundException if the user no longer exists.
5353 throw new \Exception('TODO: fill in refreshUser() inside '.__FILE__);
You can’t perform that action at this time.
0 commit comments