mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 02:09:03 +02:00
Added possibility to edit and view the aboutMe information of users
This commit is contained in:
parent
047c82791b
commit
065417038c
7 changed files with 57 additions and 0 deletions
|
@ -632,6 +632,28 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe
|
|||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the about me text of the user.
|
||||
* @return string
|
||||
*/
|
||||
public function getAboutMe(): string
|
||||
{
|
||||
return $this->aboutMe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Change the about me text of the user.
|
||||
* @param string $aboutMe
|
||||
* @return User
|
||||
*/
|
||||
public function setAboutMe(string $aboutMe): User
|
||||
{
|
||||
$this->aboutMe = $aboutMe;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Gets the language the user prefers (as 2 letter ISO code).
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue