Skip to content

Commit

Permalink
Update user model
Browse files Browse the repository at this point in the history
Added label to describe user
  • Loading branch information
eluhr authored Mar 10, 2023
1 parent 5fd9661 commit 0a6978d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/modules/admin/models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,20 @@
/**
* @inheritdoc
*
* @property-read string $label
*
* /!\ Just for giiant generation. Do not use /!\
*/
class User extends \Da\User\Model\User
{

/**
* Label to uniquely describe the user
* @return string
*/
public function getLabel()
{
return $this->username;
}

}

0 comments on commit 0a6978d

Please sign in to comment.