Skip to content

Commit 81634d8

Browse files
committed
IIdentity: silently added method getData()
1 parent 2f63728 commit 81634d8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/Security/IIdentity.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
/**
1414
* Represents the user of application.
15+
* @method array getData()
1516
*/
1617
interface IIdentity
1718
{
@@ -25,4 +26,9 @@ function getId();
2526
* Returns a list of roles that the user is a member of.
2627
*/
2728
function getRoles(): array;
29+
30+
/**
31+
* Returns user data.
32+
*/
33+
//function getData(): array;
2834
}

0 commit comments

Comments
 (0)