Skip to content

Commit d3ab4fe

Browse files
committed
Update docblock
1 parent 462ff6a commit d3ab4fe

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/View/Helper/IdentityHelper.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,11 @@ public function is(int|string $id, string $field = 'id'): bool
103103
}
104104

105105
/**
106-
* Gets user data
106+
* Get data from the identity.
107+
*
108+
* You can use dot notation to fetch nested data.
109+
* Calling the method without any argument will return
110+
* the entire data array/object (same as `IdentityInterface::getOriginalData()`).
107111
*
108112
* @param string|null $key Key of something you want to get from the identity data
109113
* @return mixed

0 commit comments

Comments
 (0)