Skip to content

Commit

Permalink
IIdentity: silently added method getData()
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 5, 2021
1 parent ab73c13 commit 3ae0bac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Security/IIdentity.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

/**
* Represents the user of application.
* @method array getData()
*/
interface IIdentity
{
Expand All @@ -25,4 +26,9 @@ function getId();
* Returns a list of roles that the user is a member of.
*/
function getRoles(): array;

/**
* Returns user data.
*/
//function getData(): array;
}

0 comments on commit 3ae0bac

Please sign in to comment.