Skip to content

Commit 29516dc

Browse files
committed
[Security] Readd deprecated methods to the interfaces
1 parent b2b0193 commit 29516dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Security/User/UserLoaderInterface.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,10 @@
2929
*/
3030
interface UserLoaderInterface
3131
{
32+
/**
33+
* @return UserInterface|null
34+
*
35+
* @deprecated since Symfony 5.3, use loadUserByIdentifier() instead
36+
*/
37+
public function loadUserByUsername(string $username);
3238
}

0 commit comments

Comments
 (0)