Documentation

ItemTypeDictionary
in package

Table of Contents

$intToStringIdMap  : array<string|int, mixed>
$itemTypes  : array<string|int, mixed>
$stringToIntMap  : array<string|int, mixed>
__construct()  : mixed
fromIntId()  : string
fromStringId()  : int
getEntries()  : array<string|int, ItemTypeEntry>

Properties

$intToStringIdMap

private array<string|int, mixed> $intToStringIdMap = []
Tags
phpstan-var

array<int, string>

$itemTypes

private array<string|int, mixed> $itemTypes
Tags
phpstan-var

list<ItemTypeEntry>

$stringToIntMap

private array<string|int, mixed> $stringToIntMap = []
Tags
phpstan-var

array<string, int>

Methods

fromIntId()

public fromIntId(int $intId) : string
Parameters
$intId : int
Return values
string

fromStringId()

public fromStringId(string $stringId) : int
Parameters
$stringId : string
Return values
int

Search results