LegacyStringToItemParser: added getMappings()

This commit is contained in:
Dylan K. Taylor 2021-10-13 20:19:44 +01:00
parent ce8af4e3bc
commit 6284cd14c7
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -84,6 +84,14 @@ final class LegacyStringToItemParser{
$this->map[$alias] = $id;
}
/**
* @return int[]
* @phpstan-return array<string, int>
*/
public function getMappings() : array{
return $this->map;
}
/**
* Tries to parse the specified string into Item types.
*