Skip to content

Commit

Permalink
added iso-field to the Region-object (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
BOPOH authored Jul 27, 2024
1 parent 48c4033 commit cfbb46d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Item/Region.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}
}

0 comments on commit cfbb46d

Please sign in to comment.