Skip to content

Commit 1529f2e

Browse files
committed
Add the getUsername method in our own interface
The bundle still relies on a username even though Symfony renamed the method used for the user identifier. So we need to have the method in our own interface instead of relying on the inherited method.
1 parent a3a6756 commit 1529f2e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Model/UserInterface.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ interface UserInterface extends CompatUserInterface
5353
*/
5454
public function getId();
5555

56+
/**
57+
* @return string
58+
*/
59+
public function getUsername();
60+
5661
/**
5762
* Sets the username.
5863
*

0 commit comments

Comments
 (0)