diff --git a/src/Domain/User/User.php b/src/Domain/User/User.php index b0632e210d1214ee7827e7c2097ecf9305e7b81f..a4fde5453cf9ef2145af318120611b6092c5183e 100755 --- a/src/Domain/User/User.php +++ b/src/Domain/User/User.php @@ -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 */