From 46624c4be9b145ba2e8329833177702c0afe08fc Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Sat, 10 Dec 2022 05:50:54 +0100 Subject: [PATCH] Added getter for ID --- app/Models/Country.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Models/Country.php b/app/Models/Country.php index 3b490892b7..45a840f4c9 100644 --- a/app/Models/Country.php +++ b/app/Models/Country.php @@ -35,4 +35,8 @@ class Country extends StaticModel { return trans('texts.country_'.$this->name); } + public function getID() :string + { + return $this->id; + } }