Skip to content
Snippets Groups Projects
Commit c2a83cfa authored by Moreau Elise's avatar Moreau Elise
Browse files

add getter for location in user entity

parent 22207b02
No related branches found
No related tags found
No related merge requests found
......@@ -207,6 +207,15 @@ class User implements JsonSerializable
return $this->admins;
}
public function getLocation(): Location
{
return $this->location;
}
public function getLocationId(): int
{
return $this->location->getId();
}
/**
* @return bool
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment