Skip to content

Commit b0adfbf

Browse files
committed
Renamed GroupAwareUserInterface to GroupableInterface without extending UserInterface
1 parent 9549aed commit b0adfbf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Model/GroupAwareUserInterface.php renamed to Model/GroupableInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
1717
* @author Christophe Coevoet <stof@notk.org>
1818
*/
19-
interface GroupAwareUserInterface extends UserInterface
19+
interface GroupableInterface
2020
{
2121
/**
2222
* Gets the groups granted to the user.

Model/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* @author Thibault Duplessis <thibault.duplessis@gmail.com>
2323
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
2424
*/
25-
abstract class User implements GroupAwareUserInterface
25+
abstract class User implements UserInterface, GroupableInterface
2626
{
2727
const ROLE_DEFAULT = 'ROLE_USER';
2828
const ROLE_SUPER_ADMIN = 'ROLE_SUPER_ADMIN';

0 commit comments

Comments
 (0)