From cfbb46d1c939f83e54a3ecff96ae52b49e1e2661 Mon Sep 17 00:00:00 2001 From: Andrey Date: Sat, 27 Jul 2024 15:33:35 +0700 Subject: [PATCH] added `iso`-field to the Region-object (#63) --- src/Item/Region.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Item/Region.php b/src/Item/Region.php index 7085149..be908be 100644 --- a/src/Item/Region.php +++ b/src/Item/Region.php @@ -20,4 +20,12 @@ public function getName(): string { return $this->getAttributes()['name']; } + + /** + * Get ISO of the region. + */ + public function getIso(): ?string + { + return $this->getAttributes()['iso']; + } }